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??
@NotThatDeep what os??
@dowotdashdotdot linux
specifically Ubuntu
more specifically Regolith (preconfigured i3/sway, basically, including
regolith-rofication)
@NotThatDeep hhhh.uh. because i get alerts at both 20% and 6%
im on stock ubuntu wth???
umm. extensions, maybe?
@dowotdashdotdot that's because it's Regolith, which on the surface looks and feels nothing like Ubuntu

i get a notification, but the notification doesn't show on-screen, there's just a little indicator. that's what i want for all notifications,
except the 20% battery warning
@NotThatDeep It's actually quite difficult to 'display a warning' and get it exactly right.

That's why the separation between programs issuing warnings and programs displaying warnings exists.

Instead of every application that has something to say displaying something in some way, each differently, and each missing some settings to make it display the message in the way you want they post notification, and a notification application then does something with those.

With i3 you could use dunst to display notifications. There are probably some other applications for displaying notifications I am not aware of.

If you really want to display a warning without using a notification for some reason you can roll your own, it's not all that difficult.
@NotThatDeep It's actually quite difficult to 'display a warning' and get it exactly right.

That's why the separation between programs issuing warnings and programs displaying warnings exists.

Instead of every application that has something to say displaying something in some way, each differently, and each missing some settings to make it display the message in the way you want they post notification, and a notification application then does something with those.

With i3 you could use dunst to display notifications. There are probably some other applications for displaying notifications I am not aware of.

If you really want to display a warning without using a notification for some reason you can roll your own, it's not all that difficult.
@NotThatDeep It's actually quite difficult to 'display a warning' and get it exactly right.

That's why the separation between programs issuing warnings and programs displaying warnings exists.

Instead of every application that has something to say displaying something in some way, each differently, and each missing some settings to make it display the message in the way you want they post a notification, and a notification application then does something with those.

With i3 you could use dunst to display notifications. There are probably some other applications for displaying notifications I am not aware of.

If you really want to display a warning without using a notification for some reason you can roll your own, it's not all that difficult. It will likely result in code and UX that very few other people would want to make use of, though
@usagi I mean, yeah. I just figured there would be something (including possibly an automation app or generalised display thing)

thanks, I will try dunst