Guide to power off the Pinephone Pro on low battery
#1
I wrote a low-power-off BASH script for the Pinephone and Pinephone Pro to help prevent over-discharge by forcing a power-off below a certain capacity.

It loops through all power sources the kernel is aware of and enforces a minimum capacity rule that powers off the system if a battery is below a certain threshold (default: 5%) and not charging.

Install guide here: https://discourse.destinationlinux.netwo...ttery/4789

Enjoy Smile
  Reply


Messages In This Thread
Guide to power off the Pinephone Pro on low battery - by Ulfnic - 02-04-2022, 05:27 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  New PinePhone Pro. No sudo command or access to root password. DanNewman 4 338 03-01-2025, 06:38 PM
Last Post: Kevin Kofler
  PinePhone Pro Review tmoj 4 4,775 02-20-2025, 12:45 AM
Last Post: biketool
  Feedback from unboxing a new PinePhone Pro (cc: Pine64) teekay 0 345 02-08-2025, 01:37 AM
Last Post: teekay
  suggestions for power/battery consumption data logger for community to compare? dchang0 6 837 01-02-2025, 09:46 PM
Last Post: Kevin Kofler
  PinePhone Pro silver lining, it’s fast, real damn fast ashoka232 6 2,947 12-23-2024, 02:42 PM
Last Post: biketool
  PinePhone Pro Black Screen CrimsenRaven 3 2,071 11-13-2024, 09:33 PM
Last Post: twentyslimy
  PinePhone Pro/IMX258 Camera Debugging problem jasperji 2 1,422 10-20-2024, 03:59 AM
Last Post: Jite
  Having difficulty installing PostmarketOS on Pinephone Convergence Beta edition spazz 13 2,489 10-17-2024, 03:28 PM
Last Post: fhilliard41
  PinePhone doesn't boot anymore lapin 3 1,144 09-13-2024, 10:09 AM
Last Post: lapin
  New PinePhone Pro fails... P. Siera 5 2,096 08-01-2024, 04:56 AM
Last Post: P. Siera

Forum Jump:


Users browsing this thread: 1 Guest(s)