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

Battery reading while charging & power off #34

Open
mrudick1 opened this issue Dec 31, 2023 · 1 comment
Open

Battery reading while charging & power off #34

mrudick1 opened this issue Dec 31, 2023 · 1 comment

Comments

@mrudick1
Copy link

I have attached an on/off switch. I'm unable to get the battery reading when the device is turned off and charging. Here is the behavior:

  1. Not charging & turned on, IO4 reading is correct.
  2. Charging & turned on, IO4 reading is correct.
  3. Charging & turned OFF, IO4 reading shows full battery.

So it looks like IO4 gives me the charging voltage when turned off, not the battery voltage. I need to get the battery voltage so I can display the device charging.

How can I do this?

@lewisxhe
Copy link
Contributor

When charging, the charging voltage is obtained, and the battery voltage cannot be obtained.

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

2 participants