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.
09-03-2022, 05:54 PM
(This post was last modified: 09-03-2022, 06:30 PM by Zebulon Walton.)
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.
09-06-2022, 06:55 PM
(This post was last modified: 09-06-2022, 06:55 PM by Zebulon Walton.)
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.)