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
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html