SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-09-05 19:40:48

martynwheeler
New Member
Registered: 2013-08-05
Posts: 7

Power Management

Hi,

I was hoping that someone could help with my laptop's power management.  A couple of times recently the battery has got so low that the laptop just turned off.  I would like to avoid this by sending it to hibernate first.  Where and how do I set this feature please?

Thanks
Martyn

Offline

Be excellent to each other!

#2 2013-09-05 19:49:31

tamikan
#! Die Hard
Registered: 2012-09-20
Posts: 777

Re: Power Management

Right-click on xfce4-power-manager icon in system tray->Go in Preferences->Pick "On Battery" in the left menu->Under Actions tab, set the action when battery power is critical to Hibernate big_smile


Take your time & do one thing at the time big_smile
Music from the 90s is the best music ever  angel

Offline

#3 2013-09-06 08:44:24

fatmac
#! Die Hard
Registered: 2012-11-14
Posts: 1,948

Re: Power Management

Menu > Settings > Power Management


Linux since 1999
Currently:  AntiX, & Crunchbang.
A good general beginners book for Linux :- http://rute.2038bug.com/index.html.gz
A good Debian read :- http://debian-handbook.info/get/now/

Offline

#4 2013-09-07 11:59:07

martynwheeler
New Member
Registered: 2013-08-05
Posts: 7

Re: Power Management

Thanks for the responses, looks like I already had set it to hibernate when power is critical.  So it looks like the laptop is waiting too long before trying to take action.  Is there anyway I can change it so that critical is not quite so critical?

EDIT
OK, so I found it was on 10%, but it just shuts off without hibernating, i'll maybe set it to shutdown instead to check for probelms

Martyn

Last edited by martynwheeler (2013-09-07 12:17:31)

Offline

#5 2013-09-07 13:36:40

drlove601
#! Member
From: United States
Registered: 2011-12-01
Posts: 56

Re: Power Management

Hey Martyn, I'm not sure what your setup is like, but your problem may be with the size of your swap partition/file. I believe the rule of thumb is that the size of your swap space should be twice the amount of RAM you have if it's 2 GB or less (not 100% sure about that though).  I have 4 GB of RAM so when I installed #!, I created a swap partition of 4 GB and I'm able to hibernate.

These pages may be of some use for you:

Hibernate Without Swap Partition

Swap

Offline

#6 2013-09-07 15:27:25

martynwheeler
New Member
Registered: 2013-08-05
Posts: 7

Re: Power Management

OK, it's not a hibernate problem I set it to shutdown on 10% battery and it again just switched off and the battery was at 0% when I switched it back on. Any ideas?

Martyn

Offline

#7 2013-09-09 20:13:14

martynwheeler
New Member
Registered: 2013-08-05
Posts: 7

Re: Power Management

OK, thanks to some suggestions on IRC it turns out that the laptop was never reaching 10% and was never getting the chance to shut down gracefully.  Now set to 15% and all works.

Offline

#8 2013-09-10 08:44:24

fatmac
#! Die Hard
Registered: 2012-11-14
Posts: 1,948

Re: Power Management

Thanks for posting that, might help someone else.  smile


Linux since 1999
Currently:  AntiX, & Crunchbang.
A good general beginners book for Linux :- http://rute.2038bug.com/index.html.gz
A good Debian read :- http://debian-handbook.info/get/now/

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo