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.
Note: Update to 3.15 resets all intervals to 24h, so please check the settings!
Important: Sailjail support is enabled in Battery Buddy 4.0.0-1, which means it requires at least Sailfish OS 4.3 to work properly. For Sailfish OS 3.3 and up you should be able to use Battery Buddy 3.17-1. For older versions Battery Buddy 3.15-1 should work fine. For Sailfish OS 2.2 you have to download the legacy build.
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).
There is now a logging option, which can be accessed via the Settings page pulley menu, with three logging options. You can copy the log contents, too, so submitting the service log for debugging purposes is now a lot more convenient! Using --verbose and --debug flags still work as before.
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.
4.0.0-1
3.17.0-1
3.16.2-1
3.16.1-1
3.15.1-1
3.15-1
3.14-1
3.13-1
Full changelog in GitHub.
Comments
direc85
Thu, 2021/03/25 - 08:48
Permalink
Yes, it is tested and supported! Even multi user devices are supported - every user gets their own charging settings :)
nthn
Tue, 2021/02/09 - 22:40
Permalink
Hello, please consider applying for translation hosting at https://hosted.weblate.org/, this will make it easier for people to translate your application.
direc85
Mon, 2021/02/15 - 20:18
Permalink
Thanks for the suggestion. I actually used Weblate when I participated in an another project a few days ago, and it sure looks nice!
moses_s
Wed, 2021/01/20 - 13:24
Permalink
The app still doesn't work properly on Sony Xperia 10 Plus (mine is the dual-sim model i4213) there is a bug since the Sailfish 3.4 updade (I am running v3.4.0.24 Pallas-Yllastunturi). The app does not stop the charging of the phone once "Pause charging limit" setting is met. Thanks.
direc85
Sun, 2021/01/31 - 22:54
Permalink
This should be fixed in 3.8-1. Is it fixed for you now?
moses_s
Tue, 2021/02/02 - 02:52
Permalink
Yes. Charging control works fine now in version 3.8-1, just like it used to in the old days :)
Thanks a lot Matti. Is there a way to support your efforts via contributions/donations?
Moses.
huggymann
Fri, 2021/02/05 - 00:45
Permalink
Yes, check the app description and lood for
huggymann
Tue, 2021/01/12 - 22:39
Permalink
Hello, i am using xperia x compact phone. the notifications are working fine but the automatic charging control does not. I restarted the service multiple time and restarted my phone as well. It always charges up to 100% . Any ideas what i am doing wrong?
i have sailfish 3.4.0.24
Regards
direc85
Sun, 2021/01/31 - 22:55
Permalink
This should be now fixed in version 3.8-1. Does it work for you?
huggymann
Sun, 2021/02/07 - 12:36
Permalink
hello direc, strange thing, it is not working yet. I supposed to but after trying out today, its not working. I just reinstalled sailfish and installed battery buddy, but its not working :(
what i can see is that when i hit on "start background service" in the options to disable it. It will never finish. the circle starts blinking forever. Does that help you? Can i do anyting to help you debugging?
direc85
Tue, 2021/02/09 - 19:23
Permalink
Actually let's take this to GitHub Issues instead. I'll open a ticket for you.
direc85
Tue, 2021/02/09 - 19:22
Permalink
I guess the background service doesn't start or doesn't function properly... Can you post output of the following commands?
systemctl --user status harbour-batterybuddy.service
systemctl --user stop harbour-batterybuddy.service
harbour-batterybuddy-daemon --debug
(Now try to change a few settings in the application and exit the service with Ctrl-C.)
I think I'll improve the debugging abilities to make it easier to report new devicea and hunt down bugs.
huggymann
Fri, 2021/02/05 - 00:45
Permalink
Thank you so much!
Maximilian1st
Tue, 2020/12/15 - 20:16
Permalink
I just bought an Xperia 10 and the app does not start at boot and automatic charging control does not work.
direc85
Sun, 2021/01/31 - 22:55
Permalink
Thanks for reporting. I found the bug and fixed it in 3.8-1. Does it work for you now?
Maximilian1st
Tue, 2020/12/15 - 20:16
Permalink
Hi and thank you for this utility. I use a Sony Xperia XZ2 Compact and the app sends warnings when needed. It disregards the silent ambience which is a problem at night but
unfortunately the automatic charging control doesnotwork. ;-p you could add this phone to the working list.direc85
Sun, 2021/01/31 - 23:10
Permalink
This should have been fixed in 3.7-1 already. Could you please test it?
Historyscholar
Tue, 2020/11/17 - 12:56
Permalink
Can you update Chinese translation?I have update it.
direc85
Wed, 2020/11/18 - 18:07
Permalink
I just merged a small update yesterday, did you mean that?
I added one new string ("Current:" as in electric current) so there's not that much to update this time :)
moses_s
Tue, 2020/11/10 - 01:28
Permalink
Bug: I second the last commentor and confirm that on the Sony Xperia 10 Plus (mine is the dual-sim model i4213) there is a bug since the Sailfish 3.4 updade (I am running v3.4.0.24 Pallas-Yllastunturi). The app does not stop the charging of the phone once "Pause charging limit" setting is met. By the way, thanks a lot for a great, great app, direc85!
direc85
Sun, 2021/01/31 - 22:56
Permalink
Thanks, this should be now fixed in 3.8-1.
zipotron
Fri, 2020/10/30 - 09:40
Permalink
Hello! I just want to report a regression bug, since the last two updates, when the charge reach the 'stop charging limit', is true that charge don't rice more but seams that charging doesn't stop, and before was stopping and discharging until the low limit. I hope the report is useful for improve this amazing app.
direc85
Sun, 2021/01/31 - 22:56
Permalink
Sorry for the delay, but it should be fixed in 3.8-1. Can you test it?
PawelSpoon
Tue, 2020/10/27 - 08:55
Permalink
Works now well on xperia 10 !
direc85
Wed, 2020/10/28 - 14:36
Permalink
Great! Thanks for the update!
rob_k
Wed, 2020/10/21 - 22:14
Permalink
Yes, solved after reboot. Thanks!
rob_k
Tue, 2020/10/20 - 09:04
Permalink
Battery Buddy makes a pling sound when charging from 75% every minute, even though my settings are 89%, 5 minutes. Great app nonetheless! It's up to date, so 3.5-2 I guess.
rob_k
Sat, 2020/11/21 - 20:11
Permalink
This is still the case (or again). My XA2 has a new installation of Pallas 3.4.0.24. The Dutch weather app WelkWeer did not work after installation, and it appeared that Jolla has changed some things deep down. For instance, I do no longer have a user nemo but defaultuser instead. And the directory /run/state is no longer there.
So, I am up to date with Battery Buddy. My settings are:
- Start background service: on
- Automatic charging control: on, 89% and 65%
- Notification both off, settings at 89% and 30%, both intervals at 10:00
Still, after plugging in the power USB cable, I get a notification when battery level reaches 75%, and I get it every minute. What can be the cause of this?
direc85
Sat, 2020/11/21 - 21:21
Permalink
Hi, and thanks for reporting.
There has always been something unreliable about delivering changes from the GUI to the daemon. I have improved it a few fimes, but it's still not that reliable, it seems. The glorious state of Works For Me (TM) is not good enough - I'll see what I can do. (Well, if you lads and lasses have good ideas, please share them.)
About 3.4.0.24: It seems that I completely forgot that `nemo`isn't the default user, but `defaultuser` instead (pun not inteded actually). This requires rethinking some areas around the same config changes, and I think using DBus would be The Right Thing (TM) to do, but I'll have to learn that first.
I'm quite busy at the time, so this will take some time.I opened tickets in GitHub. I'll open a ticket regarding this in GitHub.
direc85
Tue, 2020/10/20 - 09:16
Permalink
Try stopping and starting the service using the buttons, or reboot the device.
Pages