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

Sleeping State Suggestions #22

Open
adamsimecka opened this issue Dec 27, 2021 · 3 comments
Open

Sleeping State Suggestions #22

adamsimecka opened this issue Dec 27, 2021 · 3 comments

Comments

@adamsimecka
Copy link

The device does not appear to automatically go into PretendSleeping if the device is in a deep sleep mode. This means that if the device is sleeping and it is then plugged in, the device does not charge (according to Blackcofee). If it is possible, I believe we should trigger PretendSleeping as soon as a charging voltage is detected - although that might be a challenge since the device is in deep sleep and may not be able to execute those instructions from that state.

Similarly, the device does not appear to go into a normal deep sleep automatically from a PretendSleeping state. Meaning, if I am charging the device and it is in the Pretend Sleeping state, but then I unplug it without waking it up, it seems to remain in the PretendSleeping state which likely will cause severe battery drain.

While in normal deep sleep all keys in column 1 will wake the device. While in PretendSleeping state, only the reset (*) key will wake the device. This can be confusing for the user if there are different waking rules depending on the state.

@adamsimecka
Copy link
Author

A suggestion to the issues above, would be to map one of the physical buttons to force it into a deep sleep like the way it is done on the LilyGo T-display factory test example. I don't know if that would solve the problem of the battery supposedly not charging while in deep sleep.

@arcbtc
Copy link
Owner

arcbtc commented Dec 30, 2021

Aye, it doesnt need to pretend sleep, we should just remove that and have it actually sleep

@adamsimecka
Copy link
Author

Yes. I completely agree. The original issue was during a time that Blackcoffeexbt was having issues with charging while sleeping. I believe those have been resolved. So, we should not need pretend sleeping any longer.

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