3 ms·
Why is any of this even necessary at this stage. Android has been around for 7 years, 5 major versions, and many more subversions. Power management should be so
by yardie 12y ago
Why is any of this even necessary at this stage. Android has been around for 7 years, 5 major versions, and many more subversions. Power management should be solved by now. The OS should be managing this. All power management options should be applied to all apps and only those that need an exemption should code around it.
- joshvm 12y agoIn my experience there are two drains on power: - The screen. Doesn't matter what the app is, if the screen is on the battery plummets - Network hunting. If there's no WiFi, but the radio is on then it wastes loads of battery trying to find a network.
- fixedd 12y agoDon't forget GPS... GPS lock murders.
- corysama 12y agoBecause apps are commonly requesting that the device perform actions that require excessive amounts of power according to the laws of physics. Can you imagine the complaints the OS devs would get if they stepped in to intervene? "I noticed your app made a separate request to the ad server every 30 seconds (between menus). So, I decided to batch up your requests and only send them every 10 minutes."
- cryptoz 12y agoIt's a balancing act between giving devs power over their code and managing battery. You could say that Apple 'solved' the problem by preventing developers from doing really cool things, whereas Google/Android still have battery concerns but devs have built awesome apps that depend on that flexibility. This isn't something than can be 'solved'. All the time, Google will make improvements to the OS (like JobScheduler in Lollipop) and devs will get better at managing their resources. Slowly we'll all get better battery performance. I make PressureNet, which runs in the background on Android in 10-minute intervals to get GPS, barometer measurement, and network lock. Maintaining a good battery life isn't easy, but it is possible. https://play.google.com/store/apps/details?id=ca.cumulonimbus.barometernetwork https://play.google.com/store/apps/details?id=ca.cumulonimbu...
- lpsz 12y agoDevs can still have all the power, as long as excessive battery usage is more transparent to users. I'm not sure about iPhone, but OS X has an indicator with "Apps Using Significant Energy." [1] as well as a more detailed breakdown [2]. Very useful. Often turns out to be a stray tab in Chrome. Would like to see something like that. [1] http://support.apple.com/en-us/HT5873 http://support.apple.com/en-us/HT5873 [2] http://support.apple.com/library/content/dam/edam/applecare/images/en_US/osx/yosemite-activity_monitor-energy.png http://support.apple.com/library/content/dam/edam/applecare/...
- dbaupp 12y agoAndroid does have something similar: http://imgur.com/a/d2nCb http://imgur.com/a/d2nCb
- abalone 12y agoCould you explain how it is possible to maintain good battery life while firing up the GPS every 10 minutes? Thanks.
- cryptoz 12y agoIts not critical that we get GPS at that interval, just preferable. So we turn on GPS but we don't necessarily wait for a good location to be returned. After a few seconds we either fall back to a network location or the most recent GPS location if that's better than network. It's not perfect, which is unfortunate and may be a blocker for other use cases. But for us it's a good balance of quality location and battery usage.
- voltagex_ 12y agoAn iPhone-using friend of mine constantly points out how lacklustre the battery performance in Android is - the Nexus 5 has a bigger (?) battery than the iPhone 5 but the iPhone 5 will last for a full day with similar use.
- archagon 12y agoiOS apps can use GPS in the background, as long as the user permits it. I use it to map my travels all the time!