changed internal battery measurement