libera/#devuan/ Sunday, 2021-06-27

carloshi again, how do i disable hibernation and suspend in devuan?18:05
mdtcarlos: i think it depends on the packages you installed. in my case i changes some hookup scripts in /etc18:19
fsmithredcarlos, check your power manager settings18:24
carlosmdt fsmithred dont have a gui power manager18:32
fsmithredcarlos, maybe I don't understand the problem. Does the computer hibernate or suspend without your asking it to do that?18:43
carlosfsmithred yes, found my laptop in hibernation / suspended, dont want that18:45
fsmithredyou have pm-utils installed?18:46
fsmithredI didn't think it would do that without user intervention18:46
fsmithredit is normal for the screen to blank after some time18:46
fsmithredbut not suspend/hibernate18:47
carlos_fsmithred yes, its installed18:51
carlos_electric power in the area has been irregular since yesterday18:52
mdti changed scripts in /etc/pm which define reaction on suspend und power keys. my notebook has a badly placed power button so i switched that off. but i dont know what could trigger a suspend on irregular power...18:55
fsmithredmaybe scripts in /etc/acpi18:57
carlos_deleting the direct access of pm-hibernate pm-suspend and pm-suspend-hybrid in /usr/sbin solve that?18:59
fsmithrednot sure.18:59
fsmithredI don't know if something is using the pm- commands or not18:59
carlos_what pm- commands?19:00
fsmithredpm-suspend, pm-hibernate19:00
fsmithredalso look in /etc/UPower/UPower.conf19:00
fsmithredthere are setting for action to take when battery is low19:01
fsmithredCriticalPowerAction=HybridSleep is the default setting19:01
carlosfsmithred CriticalPowerAction=HybridSleep <- this might be the one, what should i change to disable it?19:04
fsmithredalso look in /etc/UPower/UPower.conf19:05
carlosfalse?19:05
fsmithrednot sure. Read the comments in the file.19:05
carlosyes, found that file19:05
carlosyes, found that file, UPower.conf19:05
fsmithredthree man pages: UPower, upower and upowerd19:06
carloschanged to: CriticalPowerAction=PowerOff19:07
fsmithredso it should shut down when power is low19:07
fsmithredwhen battery is low19:07
fsmithrednot sure how it would react if you were on AC and the power went out.19:08
carlosremoved the power cord, didnt turn off19:09
fsmithredok, that makes sense19:09
carloslooks like its the battery power low19:09
carlosfsmithred i think this works for me, thans mdt fsmithred for your help19:14
carlos*thanks19:14
carloshttps://termbin.com/0p5a19:15
carlosread you later, power in the area is still irregular19:29
carlosthanks again for your help!!!19:29
fsmithredyw19:30
fsmithredcarlos, there are boxes you can plug into that will smooth out the power. More than just a UPS.19:30

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!