Show battery status of CrowPi L in Raspberry Pi OS
Here's a little app to show the battery status of the CrowPi L in the system tray of the native Raspberry Pi OS:
From a terminal, install python3-pyqt5
sudo apt install python3-pyqt5
Clone this projet (the first time only), go to its directory, make it executable (the first time only), run it and enjoy!
git clone email@example.com:ppyne/crowPi-L_BatteryStatus.git cd crowPi-L_BatteryStatus/ chmod +x ./batteryStatus.py ./batteryStatus.py
There're several problems you need to notice when install this APP.
1.'git clone firstname.lastname@example.org:ppyne/crowPi-L_BatteryStatus.git' returns fatal error:
Please change 'git clone email@example.com:ppyne/crowPi-L_BatteryStatus.git' to
git clone https://github.com/ppyne/crowPi-L_BatteryStatus.git
Then the APP will be installed successfully.
Please enable I2C interface.
Then the APP will work properly.
Warning: to quit the app properly, you must right click on its icon in the system tray and click the menu "Quit".