This avoids calling `get_battery_perct()` recursively.