11-01-2022, 09:21 AM
(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
and cpuhot.sh which returns cores 2-4(1-3 with 0 as the first 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
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.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
It's very helpful. Thank you.