Fully discharging a battery and charging it back to full charge again wears it out sooner than you might expect. Battery Buddy can help you increase the battery lifetime by automatically pausing and resuming charging. You can set alerts for low and full enough charge levels, too.
Important: Battery Buddy 3.6-1 and later releases require SailfishOS 3.3. Legacy builds for SailfishOS 2.2.0.29 and later can be downloaded manually from GitHub releases page.
New! Experimental aarch64 build is now available! Test with care...
The application comes with a service component that takes care of charger control and alerts. This means that the application doesn't have to be opened for alerts and limits to work - which is against Jolla Store policy, and hence worth mentioning here. You can control the service from the application (start/stop and enable/disable on boot).
You can better see what's going on by running the application or daemon with --verbose or --debug options. Help is available with --help option.
Please note that the charger control mechanism may not work for every device out there. So far it has been successfully tested with the following devices:
Please let me know if it works for your device, or if it doesn't work!
Bug reports and translations are most welcome!
If you like my work and would like to support me, you can now buy me a coffee.
Source code can be found in GitHub.
Attachment | Size | Date |
---|---|---|
![]() | 108.94 KB | 19/10/2020 - 09:32 |
![]() | 115.23 KB | 19/10/2020 - 09:32 |
![]() | 109.56 KB | 16/11/2020 - 00:46 |
![]() | 115.79 KB | 16/11/2020 - 00:46 |
![]() | 116.3 KB | 17/11/2020 - 18:17 |
![]() | 114.71 KB | 17/11/2020 - 18:17 |
![]() | 120.87 KB | 17/11/2020 - 18:17 |
![]() | 119.58 KB | 30/12/2020 - 02:25 |
![]() | 116.85 KB | 30/12/2020 - 02:25 |
![]() | 123.95 KB | 30/12/2020 - 02:25 |
3.7-1
3.6-3
3.6-2
3.6-1
Full changelog in GitHub.
Comments
oxygenh
Wed, 2020/03/25 - 13:46
Permalink
It will be cool! I will wait. Thank you.
Where do i send little donat? ;)
direc85
Wed, 2020/03/25 - 14:38
Permalink
TBH I'm working on it. Thank you for asking :)
PawelSpoon
Tue, 2020/03/24 - 08:15
Permalink
Great with Situations ! Starts on cable plugin
enrish
Sun, 2020/03/22 - 21:51
Permalink
Genius! I hoped for this new feature for long, as i often missed notifications when in another room. Thanks a lot. I also had problems after the very last update, and uninstalling-reinstalling did it.
mz_i_norge
Sun, 2020/03/22 - 21:39
Permalink
Why is it not possible to charge the battery up to 100% with automatic charging control? That stops at 95%.
direc85
Mon, 2020/03/23 - 09:40
Permalink
Thanks for feedback! That's just an arbitrary maximum value I chose. I have to revisit the sliders, too, because it's quite hard to get the value exactly right on Jolla Phone with its small display. I'll fix both of these in a future release.
t0t3u
Sun, 2020/03/22 - 16:46
Permalink
Fixed by reinstalling it.
t0t3u
Sun, 2020/03/22 - 16:44
Permalink
Oups!
Don't know if it's related but it failes to start after last update:
[nemo@Sailfish ~]$ harbour-batterybuddy
[I] unknown:0 - Starting Battery Buddy...
[I] unknown:0 - Loaded lowAlert 30
[I] unknown:0 - Loaded highAlert 76
[I] unknown:0 - Loaded interval 60
[I] unknown:0 - Loaded limitEnabled 0
[I] unknown:0 - Loaded notificationsEnabled 1
[I] unknown:0 - Loaded lowLimit 50
[I] unknown:0 - Loaded highLimit 70
[I] unknown:0 - Loaded limitEnabled 0
[I] unknown:0 - Reading capacity from "/sys/class/pow
er_supply/battery/capacity"
[I] unknown:0 - Reading charge state from "/sys/class
/power_supply/battery/status"
[I] unknown:0 - Reading charger status from "/sys/cla
ss/power_supply/usb/present"
Segmentation fault
[nemo@Sailfish ~]$
direc85
Sun, 2020/03/22 - 19:09
Permalink
Thanks for reporting. I'll have a look at the issue. Good to know that reinstalling helped, too...
t0t3u
Sun, 2020/03/22 - 10:28
Permalink
Great work!
I confirm that the automated part works on X10.
fllp
Sun, 2020/03/22 - 02:42
Permalink
Version 2.0 is a wonderful update. Thank you!
Automatic change limit works on Xperia X. Like a charm.
direc85
Sun, 2020/03/22 - 02:50
Permalink
Thanks for reporting, adding that one, too!
PawelSpoon
Sat, 2020/03/21 - 23:00
Permalink
Automatic turn off did work too
direc85
Sun, 2020/03/22 - 02:52
Permalink
Good to hear!
If manual part works, the automated part works too - as long as the logic behind works. So far so good :)
PawelSpoon
Sat, 2020/03/21 - 20:25
Permalink
At least manual part does work on X10 . Great !!
nephros
Tue, 2020/03/24 - 13:30
Permalink
Confirmed. This is great (and came out just as I was in the process of trying to get X10 support into battery notifier).
direc85
Sat, 2020/03/21 - 22:23
Permalink
Great! I'll add it to the list in the next update!
Pages