Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[charging] Add charge-once-to-full override #16

Merged
merged 4 commits into from Oct 18, 2022

Conversation

spiiroin
Copy link
Contributor

No description provided.

spiiroin and others added 2 commits October 12, 2022 12:55
Makes corner case testing easier.

Signed-off-by: Simo Piiroinen <simo.piiroinen@jolla.com>
Signed-off-by: Martin Kampas <martin.kampas@jolla.com>
rpm/mce.spec Outdated Show resolved Hide resolved
Settings UI prefers charging hysteresis to be 3 percentage units wide.

Align mce defaults to match this.

Signed-off-by: Simo Piiroinen <simo.piiroinen@jolla.com>
@spiiroin
Copy link
Contributor Author

Review commits squashed

Sometimes users might have some need to charge battery to full despite
normally having enabled battery ageing protection that stops charging
e.g. when battery capacity reaches 80 percent.

Implement "forced charging" toggle that disables battery ageing
protection until battery gets fully charged, or charger is
disconnected. This can then be used for implementing "Charge to
full this time" type functionality in settings UI.

Required constants are defined in mce-dev >= 1.31.0

Signed-off-by: Simo Piiroinen <simo.piiroinen@jolla.com>
@spiiroin spiiroin changed the title Jb58372 charging settings [charging] Add charge-once-to-full override Oct 18, 2022
@spiiroin spiiroin merged commit 924970f into sailfishos:master Oct 18, 2022
@spiiroin spiiroin deleted the jb58372_charging_settings branch October 19, 2022 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants