Pinephone Pro will not shut down when peripheral connected
#1
Hi all - hoping someone may be able to shed some light into a solution.  I have a Pinephone Pro connected to an Anker 6-in-1 usb hub.  Intermittent power is being provided through the anker hub.  It will be set up in a remote location to collect some weather data and powered by solar.  My goal is to have the pinephone shut itself down when the battery gets under 50%, then boot back up when power is applied.


The problem: A script can successfully tell the phone to shut down at the specified battery percentage, but the phone will instantaneously reboots as soon as the shutdown process is complete.  This happens when no power is present, but the hub is still plugged in.  I expect this when power is available, but it is a problem that it happens when power is absent as I need the device to shut down to conserve power for bootup.  This seems to happens when any device is plugged into the phone (flash drive, FTDI chip, pinehub, etc).


My theory is that the RK818 PMIC chip is misconfigured and is recognizing the phone's own OTG power as if it were power being passed in.  This then initiates the boot cycle.  Does this make sense?  Can anybody explain what is happening here, and any resolution?  I've seen some threads about a similar issue noted with the keyboard, but none with a resolution to this issue.


I've tried:

  - Mobian, Manjaro, and PostmarketOS and the behavior is consistent across all three.
  - Shutting down OTG power in mobian manually.  Peripherals shut down, but the phone still reboots after shutdown
  - Every type of cable known to humanity between the phone and the hub
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question Pinephone Pro for a Debian user? primesocial 2 165 04-15-2024, 03:01 AM
Last Post: zetabeta
  PinePhone Pro silver lining, it’s fast, real damn fast ashoka232 0 490 03-20-2024, 01:45 AM
Last Post: ashoka232
  PinePhone Pro Black Screen CrimsenRaven 2 370 03-16-2024, 11:40 AM
Last Post: tmoj
  PinePhone Pro Review tmoj 2 647 03-14-2024, 07:14 AM
Last Post: tmoj
  Can't boot Pinephone Pro into Factory Test Build for Hardware Checking jydoxcen 3 713 02-17-2024, 04:04 AM
Last Post: fxc
Question Phone call with the pinephone pro dfs 5 4,232 02-10-2024, 09:54 PM
Last Post: Kevin Kofler
  Average Joe review of Pinephone Pro (March 2023) alaraajavamma 6 10,281 01-06-2024, 11:32 AM
Last Post: mikehenson
Question T-Mobile and Pinephone Pro in the US jydoxcen 4 828 01-02-2024, 09:08 AM
Last Post: mikehenson
  Pinephone Pro Screen Protector jydoxcen 11 1,412 12-21-2023, 07:58 AM
Last Post: zetabeta
  Pinephone Pro does not start with RE button pressed c0ssan 10 5,380 09-28-2023, 09:21 AM
Last Post: R0bbi3Mack

Forum Jump:


Users browsing this thread: 1 Guest(s)