Set the battery level at which Ubuntu gives the "Battery Low" Warning


Do you think that the battery percentage/level at which Ubuntu gives the "Battery Low" warning is too high or too low?
This is a simple hack to change it to your desired level.
Open the terminal in Ubuntu (CTRL+ALT+T by default) and run the following commands. Replace the number '20' in each command with the percentage you desire.

To set the Battery Low Warning
gsettings set org.gnome.settings-daemon.plugins.power percentage-low 20

To set the Battery Critically Low Warning
gsettings set org.gnome.settings-daemon.plugins.power percentage-critical 20

To set the Battery Critically Low Action
gsettings set org.gnome.settings-daemon.plugins.power percentage-action 20
(This sets the battery level to trigger the battery critically low action. e.g: hibernate the machine)

The execution of the following command is a must to set any of the above commands to effect. So don't forget to run it as the last step of this little hack.

gsettings set org.gnome.settings-daemon.plugins.power use-time-for-policy false


Bonus Stuff - Displaying remaining battery level as a percentage

Ubuntu normally displays the remaining battery time on the menu bar. (If it is not displayed, you can   activate it by clicking on the battery icon on the menu bar and choosing "Show Time in Menu Bar".)
But if you like to display the remaining battery level as a percentage, the following link contains an interesting workaround.
http://www.hecticgeek.com/2012/10/make-ubuntu-show-remaining-battery-life-as-a-percentage-tip/ 

Comments

  1. Thank you for your sharing articles. I have been finding interesting posts and your articles are what I need. They are really useful and engaging. They are precious pieces of advice. I can branch out with new knowledge. Learn captivating things. Hope you will upload more me. Product discount master Product discount apps shopify

    ReplyDelete
  2. The 1000 L / h industrial RO system is capable of treating well water or groundwater, eliminating organic compounds, removing odors and coloring in water. Simultaneously remove metals such as Fe, Mn, As. After removal of contaminants from groundwater or well water, the system will also remove Ca and Mg ions that cause hard water to the water source. To ensure water used in daily life to meet the norms of water quality according to standards.
    Gái gọi Nguyễn Trãi, Gái gọi Nguyễn Chí Thanh, anh sex, Gái gọi Kim Liên mới, Gái gọi Gia Lâm - Long Biên

    ReplyDelete

Post a Comment

Popular posts from this blog

Automatically connect to a dial-up dongle in Windows 7

Cleaning older documents from Elasticsearch