that feeling when the laptop charge gradually decreases from "25%" to "21%" and then jumps to "0%"

there might be something wrong with the battery

also the fact this keeps happening
and the amount of abuse this poor battery has received

i'm so bad at keeping it charged
i always have this feeling of dread whenever it's about to happen, because there's a sudden lag spike, with everything slowing to a crawl (including keyboard input)
if i don't put it on charge within seconds, it will shut down without warning
in all seriousness though:
can we not have a program to display a warning that the battery is low? (linux)
i've searched before, i cannot for the life of me find one.
low battery notification programs? sure, there are surprisingly few, but they exist. but what about those people without pop-up notifications? i guess we just cope??