LMDE reports critical battery and shuts instantly

Archived topics about LMDE 1
Forum rules
tytiger
Level 1
Level 1
Posts: 5
Joined: Mon Dec 19, 2011 8:57 am

LMDE reports critical battery and shuts instantly

Postby tytiger » Mon Dec 19, 2011 9:21 am

I Just installed Linux Mint Debian 32bit on my Asus EeePC 900, and when I Unplug the power cord, it pops up and says my battery is critically low then shuts down after about 5 seconds. :?

(P.s. There isn't anything wrong with the battery, it still produces the normal 3.5 hours of battery life on other systems and reports 100% capacity as well as 100% charge when I'm doing this)

User avatar
Oscar799
Level 19
Level 19
Posts: 9440
Joined: Tue Aug 11, 2009 9:21 am
Location: United Kingdom

Re: LMDE reports critical battery and shuts instantly

Postby Oscar799 » Mon Dec 19, 2011 9:45 am

Moved here by moderator
Image
"Don't fix it if it ain't broken,don't break it if you can't fix it" Husse
Registered Linux User #511789

Matt267
Level 3
Level 3
Posts: 184
Joined: Sat May 07, 2011 7:53 am
Location: USA

Re: LMDE reports critical battery and shuts instantly

Postby Matt267 » Mon Dec 19, 2011 9:51 am

tytiger,

I'm away from my netbook right now so I can't give specifics, but in the power management tools you can tell the computer to perform a certain action (like shutdown) when the battery reaches a "critical point." The critical point can also be determined by the user. I wonder if for some reason the critical point is set to something like 99% battery life and thus shuts itself down immediately?

Matt

tytiger
Level 1
Level 1
Posts: 5
Joined: Mon Dec 19, 2011 8:57 am

Re: LMDE reports critical battery and shuts instantly

Postby tytiger » Mon Dec 19, 2011 9:56 am

Thanks for the reply,
When I look under the 'Power Management preferences' I don't see an option anywhere to set what percentage I want the alarm to trigger, nor any other actions under the drop down menu (under 'on battery power' tab), all it gives me is: suspend, Hibernate and Shutdown, but no option to 'do nothing' which would seem like the obvious quick fix.

tytiger
Level 1
Level 1
Posts: 5
Joined: Mon Dec 19, 2011 8:57 am

Re: LMDE reports critical battery and shuts instantly

Postby tytiger » Mon Dec 19, 2011 10:10 am

just an update, its defiantly a bug or configuration error of some kind relating to gnome-power-manager, when i killall -9 gnome-power-manager in a terminal and unplug the mains supply the netbook happily runs on battery without shutting down after 5 seconds (obvious i know)

Matt267
Level 3
Level 3
Posts: 184
Joined: Sat May 07, 2011 7:53 am
Location: USA

Re: LMDE reports critical battery and shuts instantly

Postby Matt267 » Mon Dec 19, 2011 10:13 am

Are you running XFCE or Gnome? I'm running XFCE on my netbook and the power manager looks like this: http://goodies.xfce.org/projects/applic ... er-manager and the battery settings should be in there somewhere. I'm not too familiar with what Gnome uses though.

Matt

tytiger
Level 1
Level 1
Posts: 5
Joined: Mon Dec 19, 2011 8:57 am

Re: LMDE reports critical battery and shuts instantly

Postby tytiger » Mon Dec 19, 2011 10:15 am

gnome

Matt267
Level 3
Level 3
Posts: 184
Joined: Sat May 07, 2011 7:53 am
Location: USA

Re: LMDE reports critical battery and shuts instantly

Postby Matt267 » Mon Dec 19, 2011 10:17 am

I see. Hopefully someone more familiar with Gnome will come by and help you out. I wonder if installing an different power manager will solve you issue.

Matt

spandey
Level 4
Level 4
Posts: 438
Joined: Sat Feb 20, 2010 1:23 pm

Re: LMDE reports critical battery and shuts instantly

Postby spandey » Mon Dec 26, 2011 5:14 am

You can try this, it should fix it. Before changing note down the default options so that you can revert back.
Open a Terminal and type

Code: Select all

gconf-editor


Once it there cascade thru menus and change the following keys

1. apps -> gnome-power-manager -> general -> use_time_for_policy to false
2. apps -> gnome-power-manager -> thresholds -> percentage_low to 12%
3. apps -> gnome-power-manager -> thresholds -> percentage_critical to 8%
4. apps -> gnome-power-manager -> thresholds -> percentage_action to 5%
5. apps -> gnome-power-manager -> actions -> critical_battery to hybernate

Now, when the battery reaches 12% Gnome shows a "low battery warning", at 8% a "Critical battery warning" and at 5% the system hibernates.
Linux Mint 17 - Mate 64 Bit

tytiger
Level 1
Level 1
Posts: 5
Joined: Mon Dec 19, 2011 8:57 am

Re: LMDE reports critical battery and shuts instantly

Postby tytiger » Mon Dec 26, 2011 11:33 am

Thanks,
I think it''s relating to a bug in the way the Eee PC reports the battery charge as a percentage (100) instead of mAh or something (see link below), this is an old bug that's been haunting me since i got it, they fixed it in ubuntu a while ago but apparently not in Debian, i've swapped over to XFCE for now, i still get a slightly premature low battery warning but i can at least tell it to cancel and enjoy a further 1 1/2 hours of battery life ;)



http://forum.eeeuser.com/viewtopic.php?id=87033


Return to “Archive”

Who is online

Users browsing this forum: No registered users and 6 guests