Widget: Battery Gauge

Former Member
Former Member
Battery Gauge

Battery Gauge Widget v2.1




Widget showing battery history for a selected period. Currently it is a bit limited, since it isn't possible to have a process running in the background storing the battery state continuosly. The way the widget currently works is that every time the widget is started, the battery charge value is read and saved. The value is compared to the previous one, and the graph is updated. Each bar in the graph represents an hour (in week view), so if the widget for instance is started at 12 o'clock and later at 4 o'clock, the values at 12 and 4 are real values. The values at 1, 2 and 3 o'clock are calculated based on the difference between 12 and 4. If one starts the widget at regular intervals, the graph should give a quite good representation of the battery state.

Widget menu (press Start/Enter button)
  • Statistics screen, showing battery drain the last hour, the last day, since a user defined time and since last log reset.
  • Switch the graph scale between 1 month, 2 weeks, 1 week, 4 days and 1 day (Log data is no longer deleted when changing scale).
  • Switch between no graph markers, high/low markers or markers for each step on the x-axis.
  • Switch between black or white background.
  • Reset the log.

Please note:
  • Since each bar represents one hour, there will be no data visible for the first hour after the widget is run the first time. If after several hours no graph is visible, try clearing the log from the widget menu.
  • It is recommended to clear the log after installing a new version.
  • If after clearing the log problems still persist, it may be necessary to manually delete the log file. Instructions in this post: Deleting log file manually


Updates:

Version 2.1 - September 18, 2016
  • Support for Vivoactive HR
  • Fixed layout issues on new Forerunner and Fenix series watches
  • Improved the ability to scroll past the widget in the widget list


Version 1.9b - November 23, 2015
  • Added experimental support for FR230, FR235 and FR630. Please regard this as beta software for the time being.

Version 1.8 - June 24, 2015
  • Updated to Connect IQ v1.1.2.
  • Added support for D2 Bravo.

Version 1.7 - May 27, 2015
  • Improved precision on statistics calculations.
  • Added version number to statistics screen.

Version 1.6.5 - May 17, 2015
  • Fixed a bug regarding 'last hour' and 'last day' statistics.

Version 1.6.2 - May 10, 2015
  • Increased size of graph marker font.

Version 1.6 - May 9, 2015
  • Thanks to Gigios (Vivoactive) andMourk.D (Fenix 3) for beta testing!
  • Added 'Statistics' screen, showing battery drain over various periods.
  • Added experimental Vivoactive support. Please regard this as beta software for the time being.
  • Added ForeAthlete 920XTJ support.
  • Renamed 'Clear Log' to 'Reset Log'
  • Bug fixes.

Version 1.2 - April 28, 2015
  • Added option to select between graph markers.
  • Added 1 month scale option.

Version 1.1 - April 17, 2015
  • Data is no longer cleared when changing scale.
  • When selecting a new scale in the menu, view is immediately returned to graph.
  • Added 2 week scale option.

Version 1.0 - April 13, 2015
  • Added possibility to change graph scale.
  • Added possibility to change background color.
  • Added marker showing highest value of graph.
  • Bug fixes.

Version 0.8 beta - April 08, 2015
  • Forerunner 920XT support - NOTE: Only tested in simulator.
  • Added possibility to delete log file via widget menu.
  • Small tweaks to graph.

Version 0.7 beta - April 07, 2015
  • Bug fixes.
  • Added version number to screen.

Version 0.6 beta - April 07, 2015
  • Initial version.
  • Thank you for adding VAHR to the supported devices.

    I have been using it for the past couple of weeks, and it's been working great.

    One thing I noticed is that if I use the battery down from 60% to say 15% during a round of golf, then charge it once I get home. The record doesn't always capture the 15%. It seems like the recording for the battery % is for at a particular point in time instead of fairly continuous.

    However, for my use it's perfectly fine as I am more interested in the overall battery drain during normal course of use (regular activity tracker without turning on GPS, and some 30m-1hr runs). Understandably, a round of golf will take up approximately 35-45% of the battery.
  • Former Member
    Former Member over 8 years ago
    Does the latest Version of Battery Gauge require CIQ 1.3? I have a Fenix3 with FW 7.20 (CIQ 1.26) and the widget does not work since the upgrade. Any way to get back the previous version as for some reasons i do not want to upgrade to FW 7.60.

    I'm pretty sure I'm using CIQ 1.2 to keep compatibility with some other devices, but I'll double check.
  • Former Member
    Former Member over 8 years ago
    One thing I noticed is that if I use the battery down from 60% to say 15% during a round of golf, then charge it once I get home. The record doesn't always capture the 15%. It seems like the recording for the battery % is for at a particular point in time instead of fairly continuous..

    Yes, that's how it (unfortunately) works. There is no way to continuously capture the battery state, so the widget captures the state everytime it is run. But if you used the widget during the round and the widget reported 15%, that value should have been recorded. If that is the case, there might be a bug I have to look into.
  • Former Member
    Former Member over 8 years ago
    Cannot download

    I cannot download this to my forerunner 235 because it says I have to update my watch. However, I have version 7.10 already. Is there something else I can do?

    Update: I found the other thread about this and tried a variety of things - not sure which worked but I am able to download it now.
  • Power Plant on Wrist

    Something strange in widget happened ? ... You discovered power plant on my wrist :)
    https://drive.google.com/file/d/0B9zVp9F0TIEMb2llT0wtaDZaZFE/view?usp=sharing
  • Former Member
    Former Member over 8 years ago
    Fenix 5 support added

    New version uploaded to the app store

    Improvements:
    Support for the fenix 5 series

    The fenix 5 version isn't tested on hardware (I haven't got my hands on a fenix 5 myself yet), so some small layout errors are to be expected.
    The main functionality should be fine.

    If anything regarding the fenix 5 series isn't working, please use this support thread before submitting a bad review.

    -Torstein
  • After upgrage to v2. 2b, display position is incorrect on Vivoactive HR

    i did reset log, reinstall and restart the watch already. Problem is still.
  • Former Member
    Former Member over 8 years ago
    Version 2.3b released

    Version 2.3b is uploaded to the App Store. Due to some problems on the Garmin side the app description is not updated.

    What' new:
    • Vivoactive HR graph layout problem fixed.
    • Support for Forerunner 935.


    -Torstein
  • f5

    New version uploaded to the app store

    Improvements:
    Support for the fenix 5 series

    The fenix 5 version isn't tested on hardware (I haven't got my hands on a fenix 5 myself yet), so some small layout errors are to be expected.
    The main functionality should be fine.

    If anything regarding the fenix 5 series isn't working, please use this support thread before submitting a bad review.

    -Torstein




    Hi
    I using on the fenix 5 and Unfortunately does not works connect on new fenix 5.
    Issue is with graph if you select one day is ok, but when you select 14/7 days on the graph is visible more.
    I belive this issue exist because screen on the fenix 5 is bigger
  • Former Member
    Former Member over 8 years ago
    Hi,

    Have you recently installed the widget?
    When switching from one day to 7 or 14 days, the graph is naturally smaller if you haven't been running the widget for several days.
    I'm using it myself on my Fenix 5, and it works as it is supposed to.

    One thing you might try is to reset the graph from the menu. hat usually clears up any problems.

    I've also started working on a new version specially for the Fenix 5 series, taking advantage of the new features announced in Connect IQ 2.3.

    -Torstein