15

I have gone through other questions as well and somewhere it was mentioned that using percentage policy = true and gsettings to different level will work and it did work for some time until now. How to get back low power notification, my battery is broken btw.
timer policy

percentage levels

pomsky
  • 68,507

1 Answers1

22

Yes, the gsettings are ignored.

I've tested this on Ubuntu 18.04 LTS and 20.04 LTS:

  • Edit /etc/UPower/UPower.conf (case sensitive)
  • Follow with: sudo systemctl restart upower
kubanczyk
  • 572
  • 2
    Do you mean by edit /etc/UPower/UPower.conf that you edit PercentageLow, PercentageCritical and PercentageAction values because they have too little default values (10, 3, 2) and before they are reached your laptop turn off? – Level_Up Aug 04 '19 at 18:47
  • 1
    @Level_Up Yes, I've edited these, although not because of my laptop going dead. I just like to get the message sooner than 10%. – kubanczyk Aug 04 '19 at 22:45
  • 1
    @kubanczyk worked! +1 given – sandip Dec 25 '19 at 09:19
  • 3
    This works for me too on Ubuntu 20.04. Here's the same answer but with a more detail: https://askubuntu.com/a/1261531/846736. – Rich Dougherty Jan 15 '21 at 03:05