Any way to disable wake on power connect/full charge? (Arch)
#1
Hi all, 

I've been using my early adopter PineTab more frequently over the past few weeks and there's a lot to like. There's still a few minor nagging things, like the wake on power connect. Basically I'd like to change the behavior so when I plug in a power adapter or it charges to 100% it doesn't automatically wake from sleep. My hope is this is something that can be handled via software, but I could also see it being something at a deeper firmware level. I'm guessing it's the latter. 

What I tried: 

1. Power manager options (xfce4-power-manager,tlp,etc.) 
2. Changing wake parameters in various locations in /sys/ and similar, no dice. Guessing those I found as likely candidates are read-only state parameters.
3. Looked for possible systemd options
4. Those were my best guesses. I tried searching around but most of what I found were related to WoL or BIOS specifically. There was a post on the gentoo forum but that referenced /proc/acpi which is not present. 


For reference I'm running Arch + i3. 

Thanks in advance!
#2
Dammit! This is what happened to me! I charged it when it was off because it was low-ish, threw it in my bag after and when I came back to it, the device was completely dead. It must have switched on when the power was applied - very weird behaviour! I would definitely disable this if I could...
#3
This is a hardware feature and cannot be changed it seems: https://forum.pine64.org/showthread.php?tid=10681.
#4
(10-14-2020, 02:31 AM)barray Wrote: Dammit! This is what happened to me! I charged it when it was off because it was low-ish, threw it in my bag after and when I came back to it, the device was completely dead. It must have switched on when the power was applied - very weird behaviour! I would definitely disable this if I could...

Yeah, it can be annoying.

(10-14-2020, 03:10 AM)fsflover Wrote: This is a hardware feature and cannot be changed it seems: https://forum.pine64.org/showthread.php?tid=10681.

Darn, I figured that would be the case.

Just had a thought, I wonder if there's a way to trap the wake event and have it suspend right after since it's not from a full power-off state.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Power off error message stefan_hdb 1 950 04-26-2024, 10:18 AM
Last Post: moobythegoldensock
  Arch Linux (danctnix) virtual keyboard layout change cudo 0 1,382 09-27-2023, 12:19 PM
Last Post: cudo
  Arch Linux ARM on PineTab 1 Danct12 25 34,263 06-10-2023, 05:33 PM
Last Post: fxc
Video Does DactNix Arch Linux support my use case? BlueGalaxy 22 10,077 05-18-2023, 03:45 AM
Last Post: KC9UDX
  Arch, Plasma desktop and wayland peperjohnny 49 68,697 06-10-2021, 08:31 AM
Last Post: peperjohnny
  Arch and ZRam wd5gnr 4 9,312 12-03-2020, 04:37 AM
Last Post: tomoqv
  Got Vivaldi Working on Arch! wd5gnr 3 7,170 11-09-2020, 12:13 PM
Last Post: hanscees
  UBPorts won't let me connect to my Google account Baslow 4 7,316 10-26-2020, 04:22 PM
Last Post: n3rDy

Forum Jump:


Users browsing this thread: 3 Guest(s)