My laptop routinely runs between full and critical charge a few times over the course of a day (yes, it's old). Before I updated to 16.04, Cinnamon used to notify me at:
20%, then again at
10%, then again at
7%, then again at
5%, then finally
"The battery has reached a critical level. The computer will hibernate very soon unless it is plugged in." at 2% or so. (at which point it continues to function for another 15 minutes.)
When I installed 15.10 and obliterated Unity in favour of Cinnamon, I didn't (knowingly) change anything related to this (or know it was possible).
Some configurations were reset during my system-wide upgrade, including the ones related to these power notifications. This answer lets me set just two notifications, one for critical and one for action, but I clearly remember having the five notifications mentioned above each time as if it was yesterday (because it was, ha-ha).
As I said above, I didn't conciously install any external programs for this, so while I'm aware I could write a shell script which just continually polls the sys
entry with the battery percentage and notifies at given times, I'm also convinced it was a default behaviour of Ubuntu / Cinnamon (both of which I still use).
Can I get my 5 notifications back, or should I go with the shell (or other) script?
notifyod
in myPATH
, there are no files by that name (locate
norfind
) and it doesn't appear to be within the scope ofapt search
. Googling for it returns nothing related to Ubuntu (a lot of non-english things, apparently). Can you point me to where I can getnotifyod
? – cat Apr 25 '16 at 23:34apt-cache search notifyosd
. Cinnamon should have something like that too, but we can get away with zenity popups too if that's ok. – Sergiy Kolodyazhnyy Apr 25 '16 at 23:37notifyosd
nornotifyod
are anywhere to be found. Zenity's alright with me :P – cat Apr 25 '16 at 23:41notify osd
-- the package is callednotify-osd
. Small details. – cat Apr 25 '16 at 23:43