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

Add support for tdisplays3 (and others) : Read battery level and charging status #178

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

luisan00
Copy link

@luisan00 luisan00 commented Nov 4, 2024

Some boards can read voltage level and charging status if a battery is connected, for example ttgo-tdisplays3 can use GPIO4 for this purpose, but taking into account that the battery is connected.

image

Anyway the default behavior when ttgo-tdisplay-s3 board is selected is to use the current minimal power setup [power/minimal.inc] but if we want to test the above features we need to select HAS_BATTERY in menuconfig to use [power/tdisplays3.inc]

@greenaddress
Copy link
Contributor

greenaddress commented Nov 4, 2024

Seems very reasonable! (untested)

@luisan00
Copy link
Author

luisan00 commented Nov 4, 2024

Seems very reasonable! (untested)

Yes, I'm thinking how to reproduce it, test it etc. and show you, is there any automation for this kind of problems?

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

Successfully merging this pull request may close these issues.

2 participants