Repository navigation
Conversation
With the default CriticalPowerAction=Auto and no hibernation, UPower suspends at 2%, and the device keeps draining in s2idle until the battery is flat. On the Lenovo Legion Tab Gen 3 it then stayed dead on the charger, with no sign of life for half an hour, until a forced reset (holding the buttons) brought it back. Power off at 3% instead (critical warning at 6%).
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With the default
CriticalPowerAction=Autoand no hibernation, UPower resolves the critical action toa suspend (
GetCriticalActionreturnsSleep), so at 2% the device goes to sleep and keeps drainingin s2idle until the battery is flat. On the Lenovo Legion Tab Gen 3 it then stayed dead on the
charger, with no sign of life for half an hour, until a forced reset (holding the buttons) brought it
back. This powers off at 3% instead (critical warning at 6%).
On the TB321FU port I also wake the device from s2idle with the PMIC RTC to re-check the battery
(power off at 5%, otherwise sleep again); the RTC that can wake differs per SoC, so that part stays in
the port, but I can propose a generic version if it's of interest.
AI assistance
Claude Opus 5.5, with review and on-device testing by me.