Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
12
rated 0 times [  12] [ 0]  / answers: 1 / hits: 5707  / 1 Year ago, thu, february 23, 2023, 5:53:33

I am running Ubuntu (not Xubuntu) and am using Xfce4 on my laptop. When my laptop battery is critically low, Ubuntu/Xfce4 performs some action (perhaps hibernate?) which causes my laptop to shut down.



However when I start it again, it never comes up. I don't even get BIOS or anything on the screen, it is completely black. The only way to get it back up is to take it apart, remove the internal CMOS battery as well as the main battery, wait a few minutes, and put it back together.



Obviously this is not optimal.



How do I disable all actions when the battery is critically low? I would rather have it run out of power, than ending up in this error condition.


More From » 12.04

 Answers
4

I have no idea how to do it for XFCE but for GNOME, you can change it by installing dconf-tools. Open dconf-editor Go to:



org > gnome > settings-daemon > plugins > power



and edit critical-battery-action value to nothing.



You can also un-check use-time-for-policy. Then your system won't use the time remaining as the criteria. It will be forced to use the percentage remaining. Takes care of a bug in ACPI.



There should be something similar for XFCE.


[#34545] Thursday, February 23, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rstride

Total Points: 305
Total Questions: 112
Total Answers: 118

Location: Mali
Member since Sat, Dec 26, 2020
3 Years ago
;