test branch
some fixes
fix Ah and Wh measure, change button to interrupt
fix sample variable type