Реклама показывается только незарегистрированным пользователям. Вход или Регистрация

Статистика использования батареи в меню телефона

Обсуждаем патчи для смартфонов на webOS

Статистика использования батареи в меню телефона

Сообщение Palmfan » 25 июл 2012, 22:01

Патч Battery usage stats in device menu позволяет добавлять в системное меню телефона различные аспекты использования батареи, в том числе предполагаемое оставшееся время работы.



I've created a patch to make it easier to keep track of your battery usage without needing a separate app like Battery Monitor. This patch adds a number of battery usage/drain stats to the device menu as a submenu. Check out the attached screenshots.

All the stats are recorded from the time that you remove your phone from the charger/touchstone, including:

  • How long it's been since you charged the phone
  • % battery when removed from charger
  • % drain/hour since removed from charger
  • current and recent drain rates
  • estimated battery life remaining (need to wait 5 minutes after charging to collect enough data points)
  • estimated time to charge to 100%
  • number of minutes spent with the screen on
  • number of minutes spent in voice calls

You can cycle through the different stats by tapping on battery submenu items.



The patch should work on 2.2.x and 2.1.x (untested). To install, use WebOSQuickInstall to apply the patch. The patch is currently incompatible with anything else that modifies the device menu, and will refuse to patch. In the future, I might take a stab at creating a version integrated with Device Menu Megamix.

Some stats may be unavailable or inaccurate until you've used the device for a couple hours, particularly if it's near 100% charged. The stats are updated whenever webOS normally updates the battery icon, so there is no additional power cost although the stats may be less accurate right after turning on the screen.

The stats are reset whenever you put the phone on the charger (including USB) or reboot, so if you want to write down the stats you should do so before you charge/reboot.

Known issues:

- Closing the device menu sometimes leaves the battery submenu half-open (also happens with other menus; probably a mojo bug).

- Battery life estimate may need some tuning.

- mAh capacity is estimated and may be off.


License: MIT
Palmfan

 
Сообщения: 1581
Зарегистрирован: 30 окт 2010, 21:51
Благодарил (а): 35 раз.
Поблагодарили: 125 раз.

Статистика использования батареи в меню телефона

Спонсор » 25 июл 2012, 22:01

Реклама показывается только незарегистрированным пользователям. Войти или Зарегистрироваться
Спонсор

 
Сообщения: 100
Зарегистрирован: 15 июл 2014, 18:43
Благодарил (а): 0 раз.
Поблагодарили: 0 раз.

Re: Статистика использования батареи в меню телефона

Сообщение Натан » 28 июл 2012, 10:09

Патч на 2.1 не ставится...
Натан

 
Сообщения: 287
Зарегистрирован: 04 янв 2011, 14:23
Благодарил (а): 4 раз.
Поблагодарили: 28 раз.

Re: Статистика использования батареи в меню телефона

Сообщение Palmfan » 28 июл 2012, 11:18

см. выше

The patch should work on 2.2.x


под 2.1 видимо нужно слегка обработать напильником
Palmfan

 
Сообщения: 1581
Зарегистрирован: 30 окт 2010, 21:51
Благодарил (а): 35 раз.
Поблагодарили: 125 раз.


Вернуться в webOS-смартфоны - Патчи



 


  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение