-
Notifications
You must be signed in to change notification settings - Fork 62
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 charge % #32
Comments
Yes, IO35 can collect battery voltage |
and is there a way to calculate the battery % charge ? |
You can refer to this code https://github.com/lewisxhe/XPowersLib/blob/master/src/XPowersAXP192.tpp#L1441-L1441 |
|
@lewisxhe I checked your link but it's not clear how to use XPowerLib and what is the purpose of it. Do you have any documentation on what it is and when to use it? I was not able to find anything on the internet yet. |
No, I'm just giving you a rough calculation of the percentage. Although it's not accurate, it can achieve the desired effect. |
Hi,
I have LILYGO® TTGO T5 V2.3 2.13 Inch E-Paper Screen and I have connected 3.7v 300mAh battery to the onboad battery connector.
I can see that on the board text written next to the battery connector BAT_TEST_35. What is it and can I use that to calculate battery % charge?
The text was updated successfully, but these errors were encountered: