Problem: My laptop battery is broken, it never charges. I have to use it at 0% battery and on AC power. Ubuntu 18.04, keeps giving me annoying notification every 5 seconds:
I know several questions have been asked on this topic, but this is specifically for about Ubuntu 18.04. I have tried solutions mentioned for older versions of Ubuntu but none of them work:
- Modifying /etc/UPower/UPower.conf
- Modifying
dconf editor
->org
->gnome
->settings-daemon
->plugins
->power
I am surprised that these settings don't point to the same values? I can set different values in these and still nothing happens. Do these settings even work or are they deprecated?
Has anybody else faced this issue? It's very annoying.
I found these commands did the trick:-
you can check the dconf edit worked like so:-
@vanadium provided the correct keys and values to update. The keys were missing from my dconf but adding them seems to have solved the problem.