Laptop-mode
Posted: Wed Nov 07, 2012 6:52 am
Hi,
I am still experiencing some odds with battery manager -> laptop-mode (i am on a macbook).
I set up the module, everything works as expected BUT auto-hibernate function.
I replace the hibernate command with the sleep one which works well in a terminal when I prefix it with sudo. Not otherwise.
Here is the file :
Can someone give me a clue ?
Thanks,
Cheers,
leHibou
I am still experiencing some odds with battery manager -> laptop-mode (i am on a macbook).
I set up the module, everything works as expected BUT auto-hibernate function.
I replace the hibernate command with the sleep one which works well in a terminal when I prefix it with sudo. Not otherwise.
Here is the file :
Code: Select all
# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0
#
# Should laptop mode tools perform auto-hibernation?
#
ENABLE_AUTO_HIBERNATION=1
#
# The hibernation command that is to be executed when auto-hibernation
# is triggered.
#
HIBERNATE_COMMAND=/usr/share/laptop-mode-tools/module-helpers/pm-suspend
#
# Auto-hibernation battery level threshold, in percentage of the battery's
# total capacity.
#
AUTO_HIBERNATION_BATTERY_CHARGE_PERCENT=10
#
# Enable this to auto-hibernate if the battery reports that its level is
# "critical".
#
AUTO_HIBERNATION_ON_CRITICAL_BATTERY_LEVEL=5
Thanks,
Cheers,
leHibou