06-12-2021, 09:06 AM
Okay guys. I've solved the issue. Following the hints of the links above, I modified the original version of my powermanagementprofilesrc configuration file by modifying some idleTime.
I think the relevant category is "DPMSControl". It's possible that whatever writes to the configuration file render the values as seconds, but this configuration file seems to expect milliseconds, if I'm not mistaken.
Here's the result:
And with that, you should be good to go. For now, everything seems fine with my pinephone, but I have yet to test it out and see what other things it changed... perhaps the screenlock won't appear as often as it should. But at least, now, we know how to patch up this issue.
I think the relevant category is "DPMSControl". It's possible that whatever writes to the configuration file render the values as seconds, but this configuration file seems to expect milliseconds, if I'm not mistaken.
Here's the result:
Code:
[AC]
icon=battery-charging
[AC][DPMSControl]
idleTime=600000
lockBeforeTurnOff=1
[AC][DimDisplay]
idleTime=300000
[AC][HandleButtonEvents]
lidAction=1
powerButtonAction=128
powerDownAction=16
[Battery]
icon=battery-060
[Battery][BrightnessControl]
value=0.5
[Battery][DPMSControl]
idleTime=600000
lockBeforeTurnOff=1
[Battery][DimDisplay]
idleTime=300000
[Battery][HandleButtonEvents]
lidAction=1
powerButtonAction=128
powerDownAction=16
[Battery][SuspendSession]
idleTime=300000
suspendThenHibernate=true
suspendType=32
[LowBattery]
icon=battery-low
[LowBattery][BrightnessControl]
value=30
[LowBattery][DPMSControl]
idleTime=300000
lockBeforeTurnOff=1
[LowBattery][DimDisplay]
idleTime=30000
[LowBattery][HandleButtonEvents]
lidAction=1
powerButtonAction=128
powerDownAction=16
[LowBattery][SuspendSession]
idleTime=300000
suspendType=1
And with that, you should be good to go. For now, everything seems fine with my pinephone, but I have yet to test it out and see what other things it changed... perhaps the screenlock won't appear as often as it should. But at least, now, we know how to patch up this issue.