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
  PinePhone Pro silver lining, it’s fast, real damn fast ashoka232 3 2,019 7 hours ago
Last Post: dchang0
  PinePhone Pro Black Screen CrimsenRaven 3 1,666 11-13-2024, 09:33 PM
Last Post: twentyslimy
  PinePhone Pro/IMX258 Camera Debugging problem jasperji 2 939 10-20-2024, 03:59 AM
Last Post: Jite
  Having difficulty installing PostmarketOS on Pinephone Convergence Beta edition spazz 13 1,489 10-17-2024, 03:28 PM
Last Post: fhilliard41
  PinePhone doesn't boot anymore lapin 3 748 09-13-2024, 10:09 AM
Last Post: lapin
  New PinePhone Pro fails... P. Siera 5 1,445 08-01-2024, 04:56 AM
Last Post: P. Siera
  A way to view or log the splash screen on Pinephone Pro running ArchLinux (Danctnix) PHLEMON 4 1,287 07-30-2024, 11:03 PM
Last Post: PHLEMON
  Is my PinePhone Pro dead? jlioret 2 2,265 07-28-2024, 04:12 PM
Last Post: dchang0
  Pinephone Pro does not start with RE button pressed c0ssan 11 8,260 07-28-2024, 03:21 PM
Last Post: dchang0
  Will a Pinephone Pro (Explorer) work with TING wpeckham 8 4,815 07-28-2024, 03:04 PM
Last Post: dchang0

Forum Jump:


Users browsing this thread: 1 Guest(s)