问题描述
从Kitkat(4.4)开始,Android报告我的应用程序是高电量使用。我使用网络位置以及GPS。如果我禁用GPS,那么看起来应用程序被标记为低电量使用。
我想知道是否有任何提示使用GPS,同时保持低电量使用标签。也许如果你不经常投票 - 或者它是硬编码到GPS =电池杀手?
编辑:
我了解改变这些参数将会延长电池寿命。我的问题更多的是Android是否会认识到这些电池寿命保护的尝试,还是仅仅因为它使用GPS就将我的应用程序标记为高功率使用。
我使用网络位置以及GPS。如果我禁用GPS,那么看起来应用程序被标记为低电量使用。
我想知道是否有任何提示使用GPS,同时保持低电量使用标签。也许如果你不经常投票 - 或者它是硬编码到GPS =电池杀手?
编辑:
我了解改变这些参数将会延长电池寿命。我的问题更多的是Android是否会认识到这些电池寿命保护的尝试,还是仅仅因为它使用GPS就将我的应用程序标记为高功率使用。
我使用了(和我们的应用程序使用了大约4%的电池。
(上一个链接现在是试图安装浏览器扩展的停车场:)
As of Kitkat (4.4) Android reports that my app is "High battery use".
I use Network Location as well GPS. If I disable GPS, then it seems the app gets marked as "Low battery use".
I'm wondering if there are any tips to using GPS while keeping the "Low battery use" label. Perhaps if you poll infrequently enough - or is it hardcoded to GPS = battery killer?
EDIT:
I understand that changing those parameters will conserve battery life. My question was more of whether Android will recognize these attempts at battery life conservation or will it simply brand my app as high power usage simply because it uses GPS.
I used the Fused Location (and [link removed]) and after a whole day of getting the location once every minute, my application used about 4% of the battery.
(Previous link is now a parking lot that tries to install browser extension: http://kpbird.com/2013/06/fused-location-provider-example.html?m=1)
这篇关于Android如何确定应用是否具有“高电池使用率”在“最近的位置请求”下?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!