Experimental Mobian kernel patch for extended battery life
#1
I'm currently testing a #Mobian kernel patch to improve battery life on the #PinephonePro and it's looking promising (about 3 hours of continuous use instead of 1 hour). If you'd like to try it out, assuming you are running Mobian, download the linked deb file onto your phone, install it, then shutdown your phone and remove battery, wait 10 minutes (to reset the battery meter), then boot into the new kernel. I recommend using this with Megi's uboot bootloader as you can then choose which kernel to boot into (6.16 is my patched one, 6.12 is the current Mobian one).

Note that suspend doesn't work in this kernel, I am looking into this. One additional bonus with this kernel is that if you uninstall the default Camera app, then install Camera from Flathub, it should work fine with both front and back cameras, you can take photos and scan QR codes and the image is not inverted on the back camera.

Let me know if you try it out.

https://cloud.nextcloudhosting.co.za/ind...7G4X6NGY8w
  Reply
#2
What exactly does this do to improve battery life? Where is the source code?
  Reply
#3
(Yesterday, 09:45 PM)Kevin Kofler Wrote: What exactly does this do to improve battery life? Where is the source code?

It uses a "raw" state-of-charge value for the battery percentage, rather than the "smoothing algorithm" the battery driver uses, which I have discovered is flawed. See the README.md file in the linked folder for the patch and how to apply it, it's literally just a one character patch. Today I've added another patch to fix the suspend issue, so that automatic suspend now works again. I have been testing this and it's made a huge difference in battery life, making the PPP a daily drive-able phone for me! The battery issues were the only thing stopping me from switching from my Android to the PPP.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian vs Mobian henrythemouse 3 1,104 04-06-2025, 02:15 AM
Last Post: henrythemouse
  Battery Management on PinePhonePro: d50zesl0g@mozmail.com 4 1,448 03-02-2025, 11:52 AM
Last Post: d50zesl0g@mozmail.com
  Battery life thread: discussion, support and tips apink 12 7,795 03-01-2025, 10:39 AM
Last Post: d50zesl0g@mozmail.com
  July 1 upgrade of Mobian Bookworm boot loops. mburns 9 3,822 02-25-2025, 08:27 AM
Last Post: Kevin Kofler
  Reseting the Battery Fuel Gauge franzthiemann 8 2,318 01-24-2025, 08:19 AM
Last Post: teekay
Rainbow Plasma-Mobile on Mobian Trixie, task switcher issue pineconeuser 0 665 01-02-2025, 09:21 AM
Last Post: pineconeuser
  Megapixels on Mobian Bookworm on PinePhone Pro - Not Launching X0X0X0X0X0 3 2,374 10-28-2024, 10:46 AM
Last Post: Jite
  bookworm vs trixie discussion for mobian in pinephone pro. zetabeta 16 9,831 04-28-2024, 01:52 AM
Last Post: diederik
  Disable the GDM service in Mobian. mburns 0 1,123 11-25-2023, 10:19 PM
Last Post: mburns
  The Mobian Phosh Experience mburns 1 2,226 11-18-2023, 08:21 AM
Last Post: crocspot

Forum Jump:


Users browsing this thread: 1 Guest(s)