On Mon, 16 Apr 2018 08:41:56 +0100 Dave Mitchell <davem@xxxxxxxxx> wrote: > F27. I ran a new laptop battery down to 4% (as claimed by gnome) and my > laptop didn't auto-suspend, nor hibernate. I'm not that familiar with power settings on Fedora (having F26 here). But a look at upower.service might be useful - mine is disabled: % systemctl status upower.service ● upower.service - Daemon for power management Loaded: loaded (/usr/lib/systemd/system/upower.service; disabled; vendor pres Active: active (running) since Tue 2018-04-17 03:11:58 CEST; 10h ago Docs: man:upowerd(8) Main PID: 2562 (upowerd) Tasks: 3 (limit: 4915) CGroup: /system.slice/upower.service └─2562 /usr/libexec/upowerd > > In settings / power, the only option for battery power these days seems to > be to automatically suspend after a set time period; not at a certain > battery level. > 'Suspend' doesn't seem to be supported as an action for low battery level on Gnome ... But here, on F26: in /etc/UPower/UPower.conf I have a config option to set action (again: no suspend) according to a battery percentage level. Excerpt: ---------------------------------------- UsePercentageForPolicy=true # When UsePercentageForPolicy is true, the levels at which UPower will # consider the battery low, critical, or take action for the critical # battery level. # # This will also be used for batteries which don't have time information # such as that of peripherals. # # If any value is invalid, or not in descending order, the defaults # will be used. # # Defaults: # PercentageLow=10 # PercentageCritical=3 # PercentageAction=2 PercentageLow=10 PercentageCritical=3 PercentageAction=2 ---------------------------------------- Trying 'upower -d' here results in the display of current power settings ... HTH, Wolfgang _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx