Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
suspend to disk : current state of art?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jlm
n00b
n00b


Joined: 27 May 2018
Posts: 49

PostPosted: Wed Jun 07, 2023 3:46 pm    Post subject: suspend to disk : current state of art? Reply with quote

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
View user's profile Send private message
Dominique_71
Veteran
Veteran


Joined: 17 Aug 2005
Posts: 1877
Location: Switzerland (Romandie)

PostPosted: Thu Jun 08, 2023 11:17 pm    Post subject: Reply with quote

On my openrc system, this is managed by sys-auth/elogind. I can change that behaviour into /etc/elogind/logind.conf.
Back to top
View user's profile Send private message
jlm
n00b
n00b


Joined: 27 May 2018
Posts: 49

PostPosted: Fri Jun 09, 2023 6:59 am    Post subject: Reply with quote

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
View user's profile Send private message
Dominique_71
Veteran
Veteran


Joined: 17 Aug 2005
Posts: 1877
Location: Switzerland (Romandie)

PostPosted: Fri Jun 09, 2023 9:17 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum