coding header for battery level