Battery level indication on PiDog?

Is there a way to query the PiDog for its battery charge level?

You can check the battery level through the battery indicator LEDs or by using a multimeter:

Battery Indicator Guide:
:battery: Both LEDs ON - Voltage above 7.6V (Good charge)
:battery: One LED ON - Voltage between 7.15V ~ 7.6V (Low charge)
:battery: Both LEDs OFF - Voltage below 7.15V (Needs recharging)

Alternative Method:
:straight_ruler: For precise measurement, you can use a multimeter to check the battery voltage directly.

Using code, you can check as follows:

from pidog import Pidog
dog = Pidog()
voltage = dog.get_battery_voltage()
print(f’battery voltage: {voltage}')

The battery voltage can also be checked via code, but we recommend combining this with actual measured data.