Then you might want to have a look at https://github.com/rhz/sd-battery-notification. It’s a systemd timer that checks the battery charge every minute and notifies the user when the battery is too low or too high. By default, it notifies when the battery is below 40% or over 80%.