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

Detect charging when samsung 's "battery protection" is on on #257

Open
exelix11 opened this issue Jun 23, 2022 · 0 comments
Open

Detect charging when samsung 's "battery protection" is on on #257

exelix11 opened this issue Jun 23, 2022 · 0 comments

Comments

@exelix11
Copy link

On my samsung S20 there's an option called battery protection that stops charging the phone at 85%.
When this kicks in SMBSync's tasks that require the device to be charging fail.

Ti reproduce;

  1. Enable battery protection, plug in AC adapter and wait for the battery to get to 85%.
    Note that the charging icon disappears from the status bar but the device still knows its plugged in, for example the lock screen will say that battery protection is enabled.
  2. Try to start a task that requires the device to be charing
  3. The task will fail claiming the device is not charging.

It is technically correct since the device is not charging but maybe the optimal condition would be if the AC adapter is plugged in rather than if the device is charging.

It's not a huge issue since i can trigger manually synchs with the widget but it's worth documenting it.

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

No branches or pull requests

1 participant