Views:
3,219β
Votes: 2β
Tags:
16.04
suspend
battery
hibernate
mate
Link:
π See Original Answer on Ask Ubuntu β§ π
URL:
https://askubuntu.com/q/1089951
Title:
Hibernate/suspend on critical battery level - where should I set it from MATE GUI?
ID:
/2018/11/04/Hibernate_suspend-on-critical-battery-level-where-should-I-set-it-from-MATE-GUI_
Created:
November 4, 2018
Edited: June 12, 2020
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
GUI method
From: Change Critical Battery Level and Action in Linux Mint 18 Cinnamon
you can install dconf-editor
using:
$ sudo apt-get install dconf-editor
Then go to org -> cinnamon -> settings-daemon -> plugins -> power
- Default settings are (in %):
- Critical battery action: hibernate
- Critical: 2
- Action: 2
- Low: 10
Exercise caution and tweak to your heartβs content π
Original Answer and edits below
Review your current settings with:
$ gsettings list-recursively | grep critical
org.gnome.settings-daemon.plugins.power critical-battery-action 'shutdown'
org.gnome.settings-daemon.plugins.power percentage-critical 3
org.gnome.settings-daemon.plugins.power time-critical 300
Change your critical-battery-action
$ gsettings set org.gnome.settings-daemon.plugins.power critical-battery-action 'suspend'
Linux Mate differences
When using Linux Mate you need to substitute org.gnome
with org.mate
and possibly change your keys. From ArchWiki:
Battery discharge
To disable the notification on battery discharge, run:
$ gsettings set org.mate.power-manager.notify-discharging false
However in Ubuntu there is no equivalent.
Find all Mate power settings
To find all Mate power settings use:
$ gsettings list-recursively | grep power-manager
In Ubuntu you would use:
$ gsettings list-recursively | grep plugins.power