Plasma Mobile goes back to lockscreen when the phone isn't charging
#5
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:

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.
  Reply


Messages In This Thread
RE: Plasma Mobile goes back to lockscreen when the phone isn't charging - by plaristote - 06-12-2021, 09:06 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How-To: Remote Control Your Phone from Desktop via VNC biketool 16 17,431 10-16-2025, 06:55 AM
Last Post: biketool
  Jami on the Pine phone ? bcnaz 8 16,816 06-09-2025, 04:17 PM
Last Post: j_s
  Abiword as a office mobile word processor for the Pinephone? Peter Gamma 11 12,853 10-24-2023, 08:57 AM
Last Post: Peter Gamma
  Article: NuttX RTOS for PinePhone: Feature Phone UI in LVGL, Zig and WebAssembly lupyuen 64 68,222 09-09-2023, 09:49 AM
Last Post: WhiteHexagon
  Proximity lock on Plasma Mobile alpineduck 0 2,650 08-14-2023, 05:51 PM
Last Post: alpineduck
  Article: NuttX RTOS for PinePhone: Phone Calls and Text Messages lupyuen 2 4,765 05-03-2023, 05:03 PM
Last Post: lupyuen
Information Quick&dirty VPN quick setting button for Plasma Mobile Kevin Kofler 0 2,753 04-06-2023, 02:40 PM
Last Post: Kevin Kofler
  Mepo - Minimalist and hackable OSM map viewer for mobile linux mil 22 33,398 10-31-2022, 07:29 AM
Last Post: mil
  [Stupid Question] Where is the phone camera software?! newusername 5 8,346 10-10-2022, 03:58 AM
Last Post: newusername
Question New user/phone here - initial update issues sexywheat 2 4,804 06-29-2022, 04:27 PM
Last Post: sexywheat

Forum Jump:


Users browsing this thread: 1 Guest(s)