I cant find the right folder? I know it works cos copying the capacity file into mysorce directory and typing myfile.open("capacity")
gives the myfile>>variableXXX the right value. But typing myfile.open("/sys/bla bla bla/capacity") gives my variable random numbers depending on what type the variable is, and none of them is the battery capacity.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.