linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RTC or button wakeup
@ 2008-06-29 16:10 Enno Fennema
  2008-06-30  1:06 ` Zhao Yakui
  2008-07-01 17:40 ` Henrique de Moraes Holschuh
  0 siblings, 2 replies; 6+ messages in thread
From: Enno Fennema @ 2008-06-29 16:10 UTC (permalink / raw)
  To: linux-acpi

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-07-02 10:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-29 16:10 RTC or button wakeup Enno Fennema
2008-06-30  1:06 ` 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

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).