Battery level alert for Sailfish OS
Find a file
2021-05-02 17:23:14 +02:00
application implement settings for health alert 2021-05-02 17:23:14 +02:00
rpm Version bump to 3.12-3 2021-05-01 00:03:17 +03:00
service Version bump to 3.12-3 2021-05-01 00:03:17 +03:00
.gitignore Implement charger control and charger plugged in boolean 2020-03-20 17:26:29 +02:00
harbour-batterybuddy.pro Split project into GUI application and CLI service 2020-04-24 11:22:07 +03:00
LICENSE.md Move license, readme and screenshots back to project root 2020-06-14 15:59:33 +03:00
README.md Respecting ringtone volume is now fixed 2020-12-30 01:32:41 +02:00
screenshot1.jpg Move license, readme and screenshots back to project root 2020-06-14 15:59:33 +03:00
screenshot2.jpg Move license, readme and screenshots back to project root 2020-06-14 15:59:33 +03:00
screenshot3.jpg Move license, readme and screenshots back to project root 2020-06-14 15:59:33 +03:00
screenshot4.jpg Move license, readme and screenshots back to project root 2020-06-14 15:59:33 +03:00

harbour-batterybuddy

Battery Buddy is a Sailfish OS application that pauses and resumes charging at set percentage values, or alerts the user when the battery charge level gets too high or too low. This helps in increasing the battery lifespan. There are a lot of research material on this, the numbers I pulled into the application as a reference were pulled from Battery Universe online article BU-808.

The application logo is a 5 minute craft at the moment, and can be considered a permanent temporary solution. It doesn't look nice in the notification view. If you have the skills to make a better logo using the same idea (a heart inside the battery) and are willing to spend a little time for this project, please feel free to send a new logo to me.

The application consist of three parts: the GUI, the monitoring daemon and the filesystem permission daemon. The filesystem daemon, harbour-batterybuddy-oneshot.service, always starts when the device boots. Its sole purpose is to set correct permissions for the charger control file of the device, so that everything else can be started as user nemo, minimizing security impact. The monitoring daemon, harbour-batterybuddy.service, actually sends the notifications and pauses/resumes charging.

Keep your battery healthy and help our dying planet, even if it is just for a tiny little bit!