patches: fix charging mode patch