The /battery topic from Stretch Driver checks for the Pimu hardware ID before deciding what info is used in determining the PowerStatus field. For the newest batch, which have ID 2, the PowerStatus field is set using the same logic as ID 1: "Charging" if the battery_connected flag is true and the filtered voltage indicated that the charger was plugged in.
The /battery topic from Stretch Driver checks for the Pimu hardware ID before deciding what info is used in determining the PowerStatus field. For the newest batch, which have ID 2, the PowerStatus field is set using the same logic as ID 1: "Charging" if the battery_connected flag is true and the filtered voltage indicated that the charger was plugged in.