Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
When I'm running on battery power, I'd like to have IdleAction=suspend-then-hibernate.
However, if mains power is connected, I'd like to have IdleAction=ignore.
How would I go about setting this up?
Required, but never shown
4 months ago