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.
New! Version 4.3.0 adds support for PineTab, developed by nephros! Thank you!
New! Version 4.2.0 adds support for setting maximum charge current for selected devices.
New! Version 4.1.0 adds initial support for Jolla Tablet.
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:
For some devices there's partial support:
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.3.2-1
4.3.1-1
4.3.0-1
4.2.5-1
4.2.4-1
4.2.3-1
4.2.2-1
4.1.1-1
4.1.0-1
4.0.0-1
3.17.0-1
3.16.2-1
Full changelog in GitHub.
Comments
direc85
Tue, 2021/06/29 - 09:17
Permalink
You could stop the service by running `systemctl --user stop harbour-batterybuddy-daemon.service` and start it manually by running `harbour-batterybuddy-daemon`.
If this really turns out to be the issue I'm having (high CPU usage on lipstick after random uptime), I'll have to revert the change...
w_oe
Tue, 2021/06/29 - 18:01
Permalink
I have written a one line shell script that replaces the tool and simply exec's the command line, so I'm fine now. Maybe make the usage of the keepalive-tool configurable?
direc85
Tue, 2021/06/29 - 18:18
Permalink
What device do you have?
Please see this thread, too: https://forum.sailfishos.org/t/screenshot-leads-to-lipstick-high-cpu-and...
w_oe
Tue, 2021/06/29 - 00:36
Permalink
On my XA2 battery life is about halve since I have updated battery buddy. At the same time I have also updated a few other apps, but I don't blame them for now. Using SystemDataScope, I see that CPU sleep has gone from near 100% to 0%. Might this be related to battery buddy and the keepalive tool? How can I disable this new feature short of uninstalling?
direc85
Tue, 2021/06/29 - 09:13
Permalink
I haven't personally experienced any issues with `keepalive-tool`, but that's no definitve proof.
The easiest way to disable it at the moment is to downgrade Battery Buddy.
shults
Wed, 2021/06/02 - 20:41
Permalink
Why the voltage is not shown? Does it work on 64bit sfos4.1?
direc85
Wed, 2021/06/02 - 23:59
Permalink
Voltage display isn't added yet, but I can add it later on.
Battery Buddy should work just as well on aarch64 devices, at least there haven't been any reports. I don't have any such devices, but at least the community hasn't reported any issues yet :)
direc85
Sun, 2021/05/30 - 21:26
Permalink
Version 3.14 is the first one in which I use keepalive-tool to, well, keep alive the daemon while the phone is in suspend (the display is off and power consumption is minimal). This may and will increase battery consumption - please monitor your charge extra carefully and report back how well it works now, and if there is any difference in battery consumption.
I sure tested it myself, and didn't really notice any difference, but it is worth mentioning anyway.
nephros
Sat, 2021/05/01 - 17:26
Permalink
Possible, but the values usually are right next to the charge states in e.g. sysfs. So it should be really similar in handling.
nephros
Sat, 2021/05/01 - 09:24
Permalink
Wonderful app, I use it constantly. Thanks for making it!
I have a feature request/wish: monitor and warn about battery temperature similar to full and empty notifications.
direc85
Sat, 2021/05/01 - 10:05
Permalink
Thank you for your kind words!
Battery temperature is a great idea, although I think it has to be implemented per-model. I'll see what I can do!
direc85
Sat, 2021/05/01 - 00:09
Permalink
There was a typo in the translation files, which caused version 3.12-2 to be released without any translations at all. This is fixed in 3.12-3, and I pulled the broken version. Sorry for any inconvenience.
vansid
Mon, 2021/02/22 - 21:08
Permalink
Is Sailfish 4.0.1 Koli supported in the current release?
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?
Pages