I'm curious to know where gnome-power-manager gets the battery info and state information. If it's getting battery information from /proc/acpi/battery/BAT*/info, we can call this $info, then why does it need a percentage? the info file has the mAh when the battery is low and when it is critical. so why would the percentage matter? if i do cat /proc/acpi/battery/BAT*/state, let's call this $state, it shows the current mAh of my battery. so if $state is below the $info.lowbattery or $info.criticalbattery then action should be taken. it seems to me that the percentage values should be made irrelevant. i mean, does the info file not always contain the critical and low battery mAh on all systems?
seidos On Sun, Sep 19, 2010 at 9:11 AM, mcon <481...@bugs.launchpad.net> wrote: > Im running Lucid Lynx (i386) on a Acer Aspire One D150, (upgraded to 2gb > RAM) i can confirm that hibernate function works for me if I have the > value percentage_action on 5 or higher, then the system hibernates > automatically. > > I also tried lower values than 5 and then nothing happened until battery > totally died. > > In my case it seems that my battery needs to have at least 5% (actually > 4%, because the action starts when its not 5% anymore) to be able to > complete the hibernate. Because when computer then is turned off i > cannot start it again without the AC connected. Also tested to just > connect AC during startup, then unplug, when I did that the computer > died immediately. Conclusion: the battery really is empty. > > Therefore in my case this isn't a bug it,s just needs the correct action > value. Maybe its the same for some of you others. > > Just a hint to try. Good luck > > -- > Action on critical battery is not triggered - gnome-power-manager > https://bugs.launchpad.net/bugs/481576 > You received this bug notification because you are a direct subscriber > of the bug. > > Status in “gnome-power-manager” package in Ubuntu: Confirmed > > Bug description: > Binary package hint: gnome-power-manager > > System Info: > Hardware: HP dv4-1120us > OS: Ubuntu 9.10 > Kernel: 2.6.31-14-generic > gpm-version: 2.28.1-0ubuntu1 > > What I expected to happen: > When the battery reaches critical level the laptop should hibernate like > set up in the preferences. > > What happened instead: > When the battery reaches critical level the laptop didn't hibernate. It > keeps running until the battery is completely empty and than just switches > off. > > How to replicate: > Let the laptop run on battery till empty. > > ProblemType: Bug > Architecture: amd64 > Date: Thu Nov 12 16:10:34 2009 > DistroRelease: Ubuntu 9.10 > NonfreeKernelModules: wl > Package: gnome-power-manager 2.28.1-0ubuntu1 > ProcEnviron: > LANG=en_US.UTF-8 > SHELL=/bin/bash > ProcVersionSignature: Ubuntu 2.6.31-14.48-generic > SourcePackage: gnome-power-manager > Uname: Linux 2.6.31-14-generic x86_64 > > To unsubscribe from this bug, go to: > > https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/481576/+subscribe > -- Action on critical battery is not triggered - gnome-power-manager https://bugs.launchpad.net/bugs/481576 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs