PINE64
Guide to power off the Pinephone Pro on low battery - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone Pro (https://forum.pine64.org/forumdisplay.php?fid=177)
+--- Forum: General Discussion of PinePhone Pro (https://forum.pine64.org/forumdisplay.php?fid=178)
+--- Thread: Guide to power off the Pinephone Pro on low battery (/showthread.php?tid=15968)



Guide to power off the Pinephone Pro on low battery - Ulfnic - 02-04-2022

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.network/t/a-guide-to-power-off-the-pinephone-on-low-battery/4789

Enjoy Smile


RE: Guide to power off the Pinephone Pro on low battery - Conjada - 02-04-2022

Looks nice and well done. I'll give it a try in a while. Thank you.


RE: Guide to power off the Pinephone Pro on low battery - Ulfnic - 02-06-2022

(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.


RE: Guide to power off the Pinephone Pro on low battery - Otter - 02-08-2022

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.


RE: Guide to power off the Pinephone Pro on low battery - Ulfnic - 02-09-2022

(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>


RE: Guide to power off the Pinephone Pro on low battery - dexy - 02-11-2022

(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.