pub fn decode_state_of_charge(inp: &TlvItemValue) -> Result<Option<u8>>
Decode StateOfCharge attribute (0x0030)