[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

script wants to know current power saving mode



If I don't touch my computer for 10 minutes, the screen goes blank.
After some more minutes, it goes into even more slumber.

OK, how can scripts detect what state it is in?
test `cat /proc/acpi/what or /sys/what` = "fully awake" && ...?


Reply to: