Page 1 of 1

Laptop-mode

Posted: Wed Nov 07, 2012 6:52 am
by Motion
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 :

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
Can someone give me a clue ?

Thanks,

Cheers,

leHibou

Re: Laptop-mode

Posted: Wed Nov 07, 2012 7:20 am
by kc1di
hi Motion.

I believe the problem may be that in ubuntu 12.04 (Which Mint 13 is based upon) Hibernate was disabled because of some problems.
here is a link that may be of help: good luck.
http://askubuntu.com/questions/94754/ho ... ibernation