View previous topic :: View next topic |
Author |
Message |
jlm n00b
Joined: 27 May 2018 Posts: 49
|
Posted: Wed Jun 07, 2023 3:46 pm Post subject: suspend to disk : current state of art? |
|
|
Hi,
I've a working laptop that behave well under gentoo for years,
at a time I had time to setup correctly the power manager so that on battery low it enter suspend to disk state, so that it don't power off and I have to relauch everything
but the packages I used got outdated and I didn't found time to update the conf and install new packages at that time
now, it's problematic to have it power off, each time I go battery low... so I wonder, what is current gentoo policy regarding proper power management?
suspend to ram works directly, when I close the screen, the laptop enter suspend to ram and wake up when I open the laptop so I suspect it just miss some conf to says "syspend to disk" instead "power off" on battery low
as well is there any user tool to ask to suspend to disk?
thanks and regards |
|
Back to top |
|
|
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1877 Location: Switzerland (Romandie)
|
Posted: Thu Jun 08, 2023 11:17 pm Post subject: |
|
|
On my openrc system, this is managed by sys-auth/elogind. I can change that behaviour into /etc/elogind/logind.conf. |
|
Back to top |
|
|
jlm n00b
Joined: 27 May 2018 Posts: 49
|
Posted: Fri Jun 09, 2023 6:59 am Post subject: |
|
|
ok.... I will never looked at the login deamon for handling power management.... since systemd has arrived, kiss is no more... that too bad because it's monolitic approach
I miss time were power management was done by power* app...
but thanks, I'm also on openrc so will have a look! |
|
Back to top |
|
|
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1877 Location: Switzerland (Romandie)
|
Posted: Fri Jun 09, 2023 9:17 am Post subject: |
|
|
jlm wrote: | I miss time were power management was done by power* app... |
I know... that's a pity. In fvwm-crystal, that stuff is handled from the quit menu, it is a pref to set the behaviour of the screen lid. As I don't want the users to be able to write into /etc from fvwm-crystal main menu, I have to change that function when logind is in use, and instead of an user pref, put a popup message. That's a shame. |
|
Back to top |
|
|
|