fixing battery status