The icon of the battery level sensor provided by the Mobile App integration indicates charging state too:
Does HA have a built-in way to mimic this in user-defined battery level sensors, without using a template for the icon? Defining a sensor with device class battery
gives visual level automatically, but not the charging state.