carlos | hi again, how do i disable hibernation and suspend in devuan? | 18:05 |
---|---|---|
mdt | carlos: i think it depends on the packages you installed. in my case i changes some hookup scripts in /etc | 18:19 |
fsmithred | carlos, check your power manager settings | 18:24 |
carlos | mdt fsmithred dont have a gui power manager | 18:32 |
fsmithred | carlos, maybe I don't understand the problem. Does the computer hibernate or suspend without your asking it to do that? | 18:43 |
carlos | fsmithred yes, found my laptop in hibernation / suspended, dont want that | 18:45 |
fsmithred | you have pm-utils installed? | 18:46 |
fsmithred | I didn't think it would do that without user intervention | 18:46 |
fsmithred | it is normal for the screen to blank after some time | 18:46 |
fsmithred | but not suspend/hibernate | 18:47 |
carlos_ | fsmithred yes, its installed | 18:51 |
carlos_ | electric power in the area has been irregular since yesterday | 18:52 |
mdt | i 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 |
fsmithred | maybe scripts in /etc/acpi | 18:57 |
carlos_ | deleting the direct access of pm-hibernate pm-suspend and pm-suspend-hybrid in /usr/sbin solve that? | 18:59 |
fsmithred | not sure. | 18:59 |
fsmithred | I don't know if something is using the pm- commands or not | 18:59 |
carlos_ | what pm- commands? | 19:00 |
fsmithred | pm-suspend, pm-hibernate | 19:00 |
fsmithred | also look in /etc/UPower/UPower.conf | 19:00 |
fsmithred | there are setting for action to take when battery is low | 19:01 |
fsmithred | CriticalPowerAction=HybridSleep is the default setting | 19:01 |
carlos | fsmithred CriticalPowerAction=HybridSleep <- this might be the one, what should i change to disable it? | 19:04 |
fsmithred | also look in /etc/UPower/UPower.conf | 19:05 |
carlos | false? | 19:05 |
fsmithred | not sure. Read the comments in the file. | 19:05 |
carlos | yes, found that file | 19:05 |
carlos | yes, found that file, UPower.conf | 19:05 |
fsmithred | three man pages: UPower, upower and upowerd | 19:06 |
carlos | changed to: CriticalPowerAction=PowerOff | 19:07 |
fsmithred | so it should shut down when power is low | 19:07 |
fsmithred | when battery is low | 19:07 |
fsmithred | not sure how it would react if you were on AC and the power went out. | 19:08 |
carlos | removed the power cord, didnt turn off | 19:09 |
fsmithred | ok, that makes sense | 19:09 |
carlos | looks like its the battery power low | 19:09 |
carlos | fsmithred i think this works for me, thans mdt fsmithred for your help | 19:14 |
carlos | *thanks | 19:14 |
carlos | https://termbin.com/0p5a | 19:15 |
carlos | read you later, power in the area is still irregular | 19:29 |
carlos | thanks again for your help!!! | 19:29 |
fsmithred | yw | 19:30 |
fsmithred | carlos, 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/!