[Ovmsdev] Implementing advanced charge control