Skip to content

[Feature] Add hibernate power button option in handheld mode #125

@DanCousins

Description

@DanCousins

Hello all,

I've recently moved over to CachyOS as a linux-curious user coming from Windows. It's going well so far, much better than the time I tried Bazzite, but I'm found missing one key feature from Windows - hibernate.

I pressed the power button on my Z1E Ally last night, and 8 hours later I've lost 6-7% of my battery that's roughly 25% drain over 24 hours. It's nice how fast it resumes, but I'm okay with waiting 10 seconds for it to boot, for the trade off of zero battery life lost while in sleep.

Would it be possible to add an option for this in the System settings in handheld mode? I've seen some people online talk about setting up say a 15-30min timer, where it will sleep as-is for that time, then dump the RAM to disk and properly hibernate, which seems like the best of both worlds to me. Quick resume for quick breaks between sessions, long term hibernation so you don't wake up with a dead battery.

Desired result:

  • Settings toggle for sleep/hibernate (maybe an extra option for sleep-then-hibernate with a 15-30min drop down or something).
  • Press power button
  • Device hibernates (or sleeps, then hibernates)
  • Press power button again
  • Device resumes hibernated state and I'm back in my game

Many thanks.

If you think this is an easy task, I would be willing to give it a go with some guidance. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions