Ask Your Question

Is it possible to change the Critical Battery Level Threshold for Auto Hibernate/Shutdown

asked 2015-06-02 18:04:45 -0500

standard7452 gravatar image

Good Evening,

I have asked a lot of questions so sorry! I am working to get my Wife on Fedora as well, so I have to make sure it works OK for her as well.

I have installed Fedora 22 on a laptop with the following specs (as registered by the Details section of Settings):

Memory: 3.7 GiB Processor: Intel® Pentium(R) CPU P6100 @ 2.00GHz × 2 OS Type: 64-bit Graphics: Intel® Ironlake Mobile GNOME: Version 3.16.2 Disk: 54.8 GB.

Here is my question:

The machine I am using is a laptop that runs on battery a lot. It is a lot of lid closing and opening, and walking away without remembering to suspend the system while both my wife and I are logged in simultaneously.

I often do work on this laptop and I don't want to lose my work. My understanding is that Hibernate puts the computer into a "suspended animation" when the battery level becomes critical.

I have found that the system does not Auto-Hibernate in time, and on a few occasions I have lost my work.

Is it possible to change the threshold for the Critical Battery so there is more wiggle room?

Thanks! William Best

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2015-06-02 22:42:26 -0500

Edit /etc/UPower/UPower.conf

Specific settings to look for: PercentageLow=10 PercentageCritical=3 PercentageAction=2

edit flag offensive delete link more



The UsePercentageForPolicy option (in UPower.conf) should be set to true for this. If it is set to false, TimeLow, TimeCritical, and TimeAction are effective instead. Current GNOME policy doesn't use percentage values, though (e.g., for automatic suspend or low battery levels), so, if using GNOME (which is what is mentioned in the question), it may be better to keep UsePercentageForPolicy set to false and use the TimeLow, TimeCritical, and TimeAction settings.

sensaurav gravatar imagesensaurav ( 2015-06-03 04:23:38 -0500 )edit

So how i can make my laptop to Hibernate on battery low?

ibrahim132 gravatar imageibrahim132 ( 2016-04-10 08:50:28 -0500 )edit

Question Tools

1 follower


Asked: 2015-06-02 18:04:45 -0500

Seen: 1,997 times

Last updated: Jun 02 '15