Raspberry pi 5 OLED driver, due to Pi 5 have owner I/O chip and different w/ Pi 4, so when you move or search for old version will have so many problem. This code is reference this github: https://github.com/mklements/OLED_Stats
20240804 update: Add Waveshare UPS HAT(B) for monitor_bat.py
About UPS python, pls reference below: English: https://www.waveshare.com/wiki/UPS_HAT_(B) Chinese: https://www.waveshare.net/wiki/UPS_HAT_(B)