https://docs.arduino.cc/tutorials/mkr-wifi-1010/mkr-battery-app-note