charging state fix for compliance