The original one was running a relatively heavy shell script (/usr/sbin/battery.sh) outputting many battery-related parameters in order to grep only 2 (voltage and charging status) and put them into two files that were later used by other scripts and even the default home screen program.

sudo apt-get install libx11-dev libxtst-dev git gcc make
git clone https://github.com/aleh/pocketchip-batt.git
cd pocketchip-batt
sudo make install

If you want to undo the changes:
sudo make uninstall

pocket-home appears to be constantly consuming up to 1-4% of CPU, must be polling something fairly hard, would be great to patch it. I've personallly moved to JWM, see https://github.com/aleh config https://github.com/aleh/pocketchip-jwmrc .

IMG_20211128_104916.jpg

标签: PocketChip

添加新评论