Updates

- Added min/max voltage value support
- Code cleanup

Signed-off-by: Andreas Pohl <apohl79@gmail.com>