Laptop-mode

Archived topics about LMDE 1 and LMDE 2
Locked
Motion

Laptop-mode

Post 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
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
kc1di
Level 18
Level 18
Posts: 8181
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Laptop-mode

Post 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
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
Locked

Return to “LMDE Archive”