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

Configurable automatic charging separation #21

Closed
langerhans opened this issue Feb 10, 2024 · 4 comments
Closed

Configurable automatic charging separation #21

langerhans opened this issue Feb 10, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@langerhans
Copy link
Owner

Automatically turn on/off charging separation at user selectable battery levels

@miguelguzmanr miguelguzmanr self-assigned this Feb 12, 2024
@miguelguzmanr
Copy link
Collaborator

miguelguzmanr commented Feb 13, 2024

Notes

Settings

Name Type Command Description
Charging separation Boolean settings get system is_charging_separation
Restrict current Int cat /sys/class/qcom-battery/restrict_cur
Restrict charge Boolean cat /sys/class/qcom-battery/restrict_chg Controls fast charge mode. When fastcharge is enabled, restrict_cur doesn't have any effect.

Values

State Charging separation Restrict current Restrict charge
🔋 Charging 0 1000000 0 = fastcharge on
⚡ Bypass charging 1 1000 1 = fastcharge off

@miguelguzmanr miguelguzmanr added enhancement New feature or request wontfix This will not be worked on labels Feb 14, 2024
@miguelguzmanr
Copy link
Collaborator

Unable to implement as-is due to charging separation not switching off as expected.

Currently, under device version 1.0.0.266, turning off charging separation while plugged in will not resume charging. You must re-plug your device to resume charging again.

Thanks to @langerhans for discovering and reporting this issue.

Might look into it later if fixed in a future update.

@miguelguzmanr miguelguzmanr removed the wontfix This will not be worked on label Apr 21, 2024
@miguelguzmanr
Copy link
Collaborator

Seems to be working on device version 1.0.0.288!

@miguelguzmanr
Copy link
Collaborator

miguelguzmanr commented May 22, 2024

Added in #28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants