How to Get Mac Battery Level from Command Line

I’m a big fan of having as much information as I can get within the command line. I couldn’t go without knowing which git branch I’m on, for example. Another important piece of information I like having is my current battery percentage. To get the current battery level from command line, you can run: pmset -g batt | grep -Eo "\d+%" Since I get lost in command line for hours at a time, having the percentage present saves me the labor of shifting my eyes outside of shell. What information do you like having in your command line? The post How to Get Mac Battery Level from Command Line appeared first on David Walsh Blog. David Walsh Blog… more →
Posted in: JavaScript

Chrome JavaScript timer throttling: Google’s tests show it saves up to 2 hours’ battery life – ZDNet

Chrome JavaScript timer throttling: Google’s tests show it saves up to 2 hours’ battery life  ZDNet Chrome to increase battery life by throttling background JavaScript timers  The Tech Report Google Chrome tests throttling background JavaScript timers to improve battery life  XDA Developers Chrome JavaScript throttling experiment improves Battery significantly  Ghacks Technology News New Chrome experiment promises up to 28% more battery life  Ars Technica View Full Coverage on Google News “JavaScript” – Google News… more →
Posted in: JavaScript

Google Maps’ location sharing will now share your phone’s battery status, too – TechCrunch

TechCrunch Google Maps' location sharing will now share your phone's battery status, tooTechCrunchIf you try to ping someone's location and their phone is dead, there's not much an app can do. Most location-sharing apps will just sit there and spin while they wait for some sort of response, leaving you to worry about all the reasons their phone …Google Maps Updates: What's New on the App?Heavy.comGoogle Maps location sharing now also shares your phone's battery lifeThe VergeGoogle kills off the flat earth: Maps app now zooms out to show a 3D globeDaily MailVentureBeat –Engadget –News18 –Android Policeall 186 news articles » map... more →
Posted in: Interactive Maps