Utils : Add units tests in utils functions
Battery : Replace the old proc interface by the recent sysfs interface