Battery Status Percentage Widget

This is a very simple widget that allows you to display the percentage of battery left on a simple icon home screen widget.

Part 1 - Create the Task.

1. Open Tasker.
2. Select Tasks.
3. Select New Task and call it "Battery".
4. Select the plus symbol and select Tasker > Set Widget Label.
5. Enter the name "Battery".
6. Enter the Label: %BATT %.
7. Click Done.
8. Click Done on the task.

The task is now ready.

Part Two - Create the widget.

1. Select the home option to go back to the android home screen.
2. Long press on the desktop and select add widget.
3. Select Task (with the Tasker icon).
4. On the tasker screen, select the batter task from the drop down list.
5. Find the question mark icon, click on it, and select an icon for the widget.
6. Now Select the Make Widget button.

Part Three - Create the Updater Context

1. Open Tasker.
2. Select new from the Context menu.
3. Select time.
4. De-Select the to: box and select the Repeat: box setting the frequency you wish to update the battery status.
5. Select Done.
6. On the screen that appears, select battery in the drop down list, then select done.
7. Click apply.

The battery widget on the home screen will now update the battery percentage value at the rate you have specified. You can also click the widget to update the percentage value sooner.

It would be really nice if Tasker allowed variable sized widgets, and included icons for various stages of battery life because this could be extended using a conditional Tasker SetWidgetIcon command to vary the icon of the widget dependant on the percentage of battery left.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License