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

Proposal: Disable auto-shutdown after repeated power-on. #57

Closed
romanegunkov opened this issue Aug 12, 2020 · 2 comments · Fixed by #59
Closed

Proposal: Disable auto-shutdown after repeated power-on. #57

romanegunkov opened this issue Aug 12, 2020 · 2 comments · Fixed by #59

Comments

@romanegunkov
Copy link
Contributor

What do you think about disable auto-shutdown if battery is not charging and capacity is less than <shutdown_capacity>, but was powered-on after auto-shutdown?

For example, if I set shutdown_capacity = 20 for everyday use, but the user doesn't know how it works, and the user needs to make an important call on the go when the battery capacity is less than 20%.

@romanegunkov
Copy link
Contributor Author

Suggest add check uptime before the auto-shutdown. I think 10 minutes will be enough.

@romanegunkov
Copy link
Contributor Author

Considering the phone boot time and user actions, I set 15 minutes.

romanegunkov added a commit to romanegunkov/acc that referenced this issue Aug 24, 2020
- Prevent phone off according to `shutdown_capacity`, if phone was power-on less than 15 minutes ago.

Fixes VR-25#57
@VR-25 VR-25 closed this as completed in #59 Aug 26, 2020
VR-25 pushed a commit that referenced this issue Aug 26, 2020
- Prevent phone off according to `shutdown_capacity`, if phone was power-on less than 15 minutes ago.

Fixes #57
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 a pull request may close this issue.

1 participant