It is really helpful that there is a low battery warning, which can be customised. But there is no warning when the battery is full. If left unattended, it will cause battery wear. Is there any method to get a warning when the battery charge has reached 95% or 100%?
I am using 22.04.
There are many ways of doing that ... here is one that is tested on Ubuntu 22.04 using Upower:
Identify your battery's device reference(name) with
upower -e
like so:Get battery information by using
upower -i
with the reference(name) of your battery like so:Refine the
upower -i
output to get only state like so:Refine the
upower -i
output to get only percentage without "%" like so:Use the above knowledge in a script that checks every five minutes to notify you when your battery charge reaches or exceeds 95% while it is in the charging state like so: