fixed battery status not refeshing

Fixed the battery level and charge status not refreshing, was a simple line of coding I was reluctant to tamper with because I don't know c++ but it paid off.