I have a MiFi device that displays the battery status percentage using javascript on it\'s home page. I would like to get that value and take actions based on the percenta