Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Regardless of battery charge, when unplugged Ubuntu displays critical battery message and hibernates. I can only seem to change it to either shutdown or hibernate.

This does not happen when using windows 7 on the same computer. Windows 7 gives a good few hours on a full charge indicating that it is not a battery problem.

Any help? I really don't want to have to use windows but its kinda pointless having a netbook that doesn't work when not plugged in!

I'm using a toshiba nb250 and the most up to date 11.10 ubuntu distro. I use to get the critical battery message before on the previous ubuntu but it never shut down or hibernated my computer.

share|improve this question
    
@Salem Thankyou for your help :) I copied and pasted this into the terminal and it seemed to sort it out.. Im so happy that Im not forced to use windows on battery power anymore! gconftool-2 --type bool --set /apps/gnome-power-manager/general/use_time_for_policy false ubuntuforums.org/showpost.php?p=11378614&postcount=5 –  Chesc Nov 27 '11 at 20:41

2 Answers 2

up vote 3 down vote accepted

I guess your computer is configured to suspend/shutdown when he thinks the battery level is critical. To change that behaviour, you need to install dconf-tools. Then open it in dash (dconf Editor), and follow this path:

 org > gnome > settings-daemon > plugins > power

And change the value of critical-battery-action to nothing. Also, if the battery is marked as broken, you can also uncheck the option notify-perhaps-recall.

Hope it helps.

share|improve this answer
    
Thankyou for your help :) –  Chesc Nov 27 '11 at 20:38

If you want to keep the action (IE: Hibernate) open dconf-editor: org > gnome > settings-daemon > plugins > power and just uncheck: use-time-for-policy, this will force the OS to use the percentage base instead of the ACPI Bios.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.