Pinephone power consumption figures?
#1
Hey all, I'm going to setup a file server and seed box running on a 4G modem for use in a campervan I'm buildling. I just wondering if anyone has any idea of how much power the pinephone consumes when plugged in 24/7? I'm considering using the pinephone instaed of an SBC and WWAN module, because it may be cheaper and/or simpler, but given I'll be running everything off of solar, I want to optimise the power consumption.
  Reply
#2
(09-02-2022, 05:06 PM)girl Wrote: Hey all, I'm going to setup a file server and seed box running on a 4G modem for use in a campervan I'm buildling. I just wondering if anyone has any idea of how much power the pinephone consumes when plugged in 24/7? I'm considering using the pinephone instaed of an SBC and WWAN module, because it may be cheaper and/or simpler, but given I'll be running everything off of solar, I want to optimise the power consumption.

Great question, and to answer all I can say is oof!
Currently the PP is pretty hungry especially if you are seeding which will keep the modem running, you could try turning off some of the CPU cores, I have been experimenting with this and it really doesnt slow me down except when web browsing or running heavy apps.  I cant find the thread I lifted this script from right now but this is what I am running as scripts, dont forget to chmod +x them

cpucold.sh shuts down all but thei first(cpu0) CPU core
Code:
#!/bin/bash
echo 0 | sudo tee /sys/devices/system/cpu/cpu1/online
echo 0 | sudo tee /sys/devices/system/cpu/cpu2/online
echo 0 | sudo tee /sys/devices/system/cpu/cpu3/online
and cpuhot.sh which returns cores 2-4(1-3 with 0 as the first core)
Code:
#!/bin/bash
echo 1 | sudo tee /sys/devices/system/cpu/cpu1/online
echo 1 | sudo tee /sys/devices/system/cpu/cpu2/online
echo 1 | sudo tee /sys/devices/system/cpu/cpu3/online
Ideally we will eventually have a CPU tuning app as well as better use fo the hardware video and audio acceleration to get better general battery life.
  Reply
#3
Interesting idea turning off 3 of the CPU cores to save power. I really only use the phone for making and receiving calls, not videos, internet, etc. I'm going to set cpucold.sh to run at boot and see how it works out.

Addendum: I tried it and boot time increased noticeably. Takes over 2 minutes on single CPU, about 1 minute 40 seconds with all cores firing. (This is on Mobian using full disk encryption.) Might be better to run the script at login instead of at boot time.
  Reply
#4
I set up a task to shut down CPU cores at login by putting an appropriate .desktop file in ~/.config/autostart. This allows the phone to initially boot up with all cores firing. With only one CPU core active though the phone lagged quite a bit with 100% CPU usage and a climbing load average - especially for a few minutes after booting up while tasks are still starting in the background.

So now I'm turning off two cores instead of three, works much better, can hardly tell the difference. Not sure how much power it will save. (I also installed a desktop icon that can quickly go to one core for maximum energy savings if desired. Wrote a quick-and-dirty C program that accepts how many cores to turn off as a parameter.)
  Reply
#5
Found this more noob friendly, and convenient, alternative to using cli: https://github.com/vagnum08/cpupower-gui
  Reply
#6
(09-03-2022, 11:04 AM)biketool Wrote:
(09-02-2022, 05:06 PM)girl Wrote: Hey all, I'm going to setup a file server and seed box running on a 4G modem for use in a campervan I'm buildling. I just wondering if anyone has any idea of how much power the pinephone consumes when plugged in 24/7? I'm considering using the pinephone instaed of an SBC and WWAN module, because it may be cheaper and/or simpler, but given I'll be running everything off of solar, I want to optimise the power consumption.

Great question, and to answer all I can say is oof!
Currently the PP is pretty hungry especially if you are seeding which will keep the modem running, you could try turning off some of the CPU cores, I have been experimenting with this and it really doesnt slow me down except when web browsing or running heavy apps.  I cant find the thread I lifted this script from right now but this is what I am running as scripts, dont forget to chmod +x them

cpucold.sh shuts down all but thei first(cpu0) CPU core     happy wheels
Code:
#!/bin/bash
echo 0 | sudo tee /sys/devices/system/cpu/cpu1/online
echo 0 | sudo tee /sys/devices/system/cpu/cpu2/online
echo 0 | sudo tee /sys/devices/system/cpu/cpu3/online
and cpuhot.sh which returns cores 2-4(1-3 with 0 as the first core)
Code:
#!/bin/bash
echo 1 | sudo tee /sys/devices/system/cpu/cpu1/online
echo 1 | sudo tee /sys/devices/system/cpu/cpu2/online
echo 1 | sudo tee /sys/devices/system/cpu/cpu3/online
Ideally we will eventually have a CPU tuning app as well as better use fo the hardware video and audio acceleration to get better general battery life.

It's very helpful. Thank you.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  eSIM on PinePhone just_a_q 9 5,152 Yesterday, 04:16 AM
Last Post: zetabeta
  US Mobile, via T-Mobile, won't support Pinephone Pro - SOLVED, SIMPLY jovval 13 6,478 12-05-2024, 04:38 PM
Last Post: tllim
  Pinephone compatibility with Telstra, now that 3 G shutdown and 5 G available tracyanne 0 142 12-04-2024, 10:53 PM
Last Post: tracyanne
Question WhatsApp & Pinephone - What are the alternatives for collaborative comms? danimations 14 18,641 11-27-2024, 09:56 AM
Last Post: bsdbrulll
  Want to buy second hand PinePhone 3G version rudi.timmermans 0 307 11-01-2024, 09:58 AM
Last Post: rudi.timmermans
  Can use PlayStation on Pinephone? willharper 6 5,945 10-30-2024, 08:07 AM
Last Post: biketool
  Ordered PinePhone till today have no info or confirmation about order hennadiyt 1 491 10-05-2024, 02:20 PM
Last Post: KC9UDX
  How can I record video on a Pinephone? kk22 18 7,851 07-22-2024, 05:18 PM
Last Post: baptx
  Pinephone not booting, always vibrating alexander12 8 7,249 07-19-2024, 07:50 PM
Last Post: Blackheart
  PinePhone Pro P. Siera 2 1,039 07-17-2024, 12:41 AM
Last Post: P. Siera

Forum Jump:


Users browsing this thread: 3 Guest(s)