[Feature Request] Battery Monitor
Battery Monitor Service 1.0a - [TEMPORARY SOLUTION]
This will add the Battery Monitoring Service for Caelestia Shell current build.
This will kicks in the following Notifications:
- Charger Plugged In/Out
- Battery Fully Charged (100%)
- Battery Low (15%)
- Battery Critically Low (5%)
Notification Icon Customization
I added this block on the top of the battery-monitor.py so that users can easily tweak the notification icons of your choice.
# === ICON CONFIGURATION ===
low_bat_icon = "battery-caution-symbolic"
critical_bat_icon = "battery-empty-symbolic"
full_bat_icon = "battery-full-charged-symbolic"
plugged_icon = "battery-good-charging-symbolic"
unplugged_icon = "battery-good-symbolic"
# ===========================
Dependencies:
python-dbus-next
I already know that @soramanew already have plans for Battery Notification Monitor for Caelestia so this post is just a TEMPORARY solution.
NOTE: I mainly develop it for my own use and not Intended to be PR, so I only made this post for those who are looking for this function that is not yet included in the main production.
I also hope that @soramanew would included this feature for the Battery Service in the future updates.
- Enable users to set the
Batterymax charging point to80%, this will help the battery health and avoid over-charging (Optional)- When reached critical battery level such as
3%and below, make a60 secondscountdown to force the session to sleep/hibernate to avoid data loss.
If you would like to try my work you can get here: Amstel-Dev Battery Monitor Service 1.0a
SAMPLES
https://github.com/user-attachments/assets/6da7a0a5-0363-4647-99bf-595451d69e31