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
#2
Looks nice and well done. I'll give it a try in a while. Thank you.
Pinephone Pro enthusiast and SUPER-HYPED for PineTab 2! PT2 is AWESOME!
Former electrical engineer. Current rancher.

I know a lot about a few things, a little about a lot of things and am ignorant of an unknown number of things.
  Reply
#3
(02-04-2022, 02:46 PM)Conjada Wrote: Looks nice and well done. I'll give it a try in a while. Thank you.

Tell me how it goes, always looking to improve the guide! Smile

Also... OpenRC guide now included.
  Reply
#4
My method is a little different. I take my spare battery out of the external charger and swap it out.
Seems to work really well and it is just one of the things I can do with my PPPee that Iphones can't do.
  Reply
#5
(02-08-2022, 02:22 PM)Otter Wrote: My method is a little different. I take my spare battery out of the external charger and swap it out.
Seems to work really well and it is just one of the things I can do with my PPPee that Iphones can't do.

What's beautiful is the ability to carry a spare battery around in your wallet.

<insert obligatory safety warning about bending, piercing, short circuiting against keys, explosion hazard, ect>
  Reply
#6
(02-09-2022, 12:15 AM)Ulfnic Wrote:
(02-08-2022, 02:22 PM)Otter Wrote: My method is a little different. I take my spare battery out of the external charger and swap it out.
Seems to work really well and it is just one of the things I can do with my PPPee that Iphones can't do.

What's beautiful is the ability to carry a spare battery around in your wallet.

<insert obligatory safety warning about bending, piercing, short circuiting against keys, explosion hazard, ect>

Love the idea. Between that and my power banks, I'd practically have to go out of my way to lose power while on the move.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Full desktop Surfing and Absolute Privacy on the pinephone? Www 8 361 06-30-2025, 10:51 AM
Last Post: Dendrocalamus64
  Backing up data on Pinephone Pro to hard disk, optical disk and flash? Www 4 225 06-29-2025, 02:46 PM
Last Post: Dendrocalamus64
  Printing and scanning documents with pinephone? Www 4 211 06-29-2025, 11:48 AM
Last Post: biketool
  FM? A future new PinePhone? jebez 1 177 06-26-2025, 11:47 AM
Last Post: zetabeta
Information Fix PinePhone Pro when unable to boot due to drained battery butjar 8 9,816 03-13-2025, 08:40 PM
Last Post: pcb
  New PinePhone Pro. No sudo command or access to root password. DanNewman 4 1,588 03-01-2025, 06:38 PM
Last Post: Kevin Kofler
  PinePhone Pro Review tmoj 4 6,939 02-20-2025, 12:45 AM
Last Post: biketool
  Feedback from unboxing a new PinePhone Pro (cc: Pine64) teekay 0 831 02-08-2025, 01:37 AM
Last Post: teekay
  suggestions for power/battery consumption data logger for community to compare? dchang0 6 1,860 01-02-2025, 09:46 PM
Last Post: Kevin Kofler
  PinePhone Pro silver lining, it’s fast, real damn fast ashoka232 6 4,363 12-23-2024, 02:42 PM
Last Post: biketool

Forum Jump:


Users browsing this thread: 1 Guest(s)