battery checker added