A Telemedicine-Based Energy Monitor For Managing Diabetes Mellitus