From: Enno Fennema <e.fennema@tiscali.nl>
To: linux-acpi@vger.kernel.org
Subject: RTC or button wakeup
Date: Sun, 29 Jun 2008 18:10:42 +0200 [thread overview]
Message-ID: <4867B402.2070104@tiscali.nl> (raw)
Could anyone suggest a way to determine in a (shell) program whether my
computer was switched on by RTC alarm or by me pressing the power button.
Normally RTC wakes my computer every evening to do daily routine work
and switches back to soft-off thereafter. If I switched on my computer
manually and am working on it it should not switch off. My best, but
clumsy, effort is at the end of the daily work comparing boot time and
login times.
Thanks in advance,
Enno
next reply other threads:[~2008-06-29 16:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-29 16:10 Enno Fennema [this message]
2008-06-30 1:06 ` RTC or button wakeup Zhao Yakui
2008-06-30 14:23 ` Enno Fennema
2008-07-01 6:26 ` Zhao Yakui
2008-07-01 17:40 ` Henrique de Moraes Holschuh
2008-07-02 10:42 ` Enno Fennema
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4867B402.2070104@tiscali.nl \
--to=e.fennema@tiscali.nl \
--cc=linux-acpi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).