Open markbaaijens opened 2 years ago
Pi4b 4gb, booting from sd card (RPMS), 2 usbsticks, and a wireless dongle (keyboard)
Pi4b 4gb, booting from sd card (RPMS), 2 usbsticks, and a wireless dongle (keyboard)
- Official power supply + cable: works (dmesg | grep -i undervoltage -> no result)
- OnePlus 3T power supply (turbo charging) + cable: appears to work (dmesg | grep -i undervoltage -> no result)
- official Samsung S10+ power supply + cable: appears to work (dmesg | grep -i undervoltage -> no result)
Some off brand power supplies do not work (e.g. Action)
Nice.. So by now you can start writing the code for this issue while having the opportunity to test the code yourself.
A Pi can be under-powered to the point it is bearly useable. Many of the problems origins from an under-powered power-suppy. We must detect this situation and warn a user in the RPMS-interface.
Code to determine if there are power-problems:
dmesg | grep -i undervoltage
Under Home, under Uptime:
Implement as a stand-alone API-function
GetPowerQuality
=> booleanBackground
vcgencmd get_throttled
Research