Doesn’t seem to be general problem as it works for me on 10 III. Both current and charge level limiting.
Is the service enabled in the settings page? If it’s disabled, the service can’t be started manually. This should be reflected in the UI better.
It should. It refers to the startup of the service, I understand this as being the boot time startup.
Hello everyone!
The code refactoring is done, and I’ve also added initial support for Jolla C2. I’ve prepared a beta release in GitHub first to iron out any bugs. I’m sure there are some bugs left, but for the most part it should work identically with version 4.3.2, some logging and debug print differences aside.
If you find anything, please file a bug in the issue tracker, or just drop a message in this thread. Thank you ![]()
(The service startup switch+button bug is still there, I’ll fix it to the next release.)
Ahoi @direc85:
Very useful app (on supported devices)!
Concerning Volla Quintus:
Battery Buddy works partially on a Volla Quintus: Battery level reading in charging and discharging state works (monitoring and logging). But when I set the charging limit at e.g 80%, thecdevice does not stop charging at 80%, as supposed, but charges full to 100%. Maybe a problem with the permission deamon? Is there anything a normal user and non coder can try to do, to enable charging limits, e.g. stop charging at 80% in this Volla Quintus device?
Still testing on C2 but no issues so far. Thx!
Most of what BB does is reading and writing files in sysfs.
You can explore the /sys/class/power_supply tree of your Quintus and see which files control this. (If any, not all devices/kernels/battery drivers support this!)
If you find the right ones, check their permissions, and carefully! try writing to them.
If you find the ones which make it work, report them here or at the github repo.
For reference, you can see the candidates for these files BB tries to use here (the entries in the list are tried in order):
https://raw.githubusercontent.com/direc85/harbour-batterybuddy/v4.4.0-0%2Bbeta1/common/batterybase.h
(Also, here’s how it mangles permissions on the files: https://raw.githubusercontent.com/direc85/harbour-batterybuddy/refs/tags/v4.4.0-0%2Bbeta1/application/service/set-write-permissions.sh)
Thanks Nephros, that is really helpful to start. I will have a look by time and report back!
4.4.0 beta2 is now available. It’s mainly a project cleanup release, but also fixes some dependency mishaps. Just barely worth releasing as a beta2 ![]()
I realized (remembered) only after making the release that there are pull requests too… I’ll check them soon!