Battery sensor fixes

 - Current sensing implemented
 - Discharged mAh implemented
 - Assume that current sensor is present only if voltage is correct (> 3.5V)
 - BAT_C_SCALING should be set to correct default values
 - Battery remaining capacity based on discharged mAh and capacity (set in parameter) implemented.

All planned features implemented. Need testing.