How to read current power source on UPS HAT DFR0494

userHead Orestes.Sanchez Benavente 2024-04-04 11:28:46 386 Views0 Replies

Hi!

 

I have a recently acquired a UPS HAT DFR0494 for Rpi 4B, and I would like to know if there is any way to read what the current power source is: battery or power.

 

Is there any I2C register to read this value?

 

Thank you in advance!

Orestes.