JOIN OUR CHAT GROUPS NOW!

If you are a fan of Tasker and want to be aware of the latest news, tips and tricks, have doubts, or would like to help who needs it, join us!

TASKER PROFILE CENTER IS ON PATREON.COM NOW!

If you like my projects and want to support me, now you can do it by becoming my Patron.

STAY UPDATED ABOUT TPC PROJECTS IN A MORE DIRECT WAY!

With the new Tasker Projects Tracker project made by @SmartPhoneLover you can stay up-to-date with our latest work.

Showing posts sorted by relevance for query Battery Monitor. Sort by date Show all posts
Showing posts sorted by relevance for query Battery Monitor. Sort by date Show all posts

Sunday, September 6, 2020

[PROJECT] Battery Monitor v1.3

DESCRIPTION
Here you have a project to be aware of the status of the battery while charging, providing useful information in real-time and helping to protect the battery and the device itself against critical temperatures and warning you when charged at a specific level.

These are the main features:
• Real time information (notification and floating scene)
• Battery level and temperature protection (charging limits).
• Enable/disable charging in the background (charging limits). (root only)
• Solid and colored battery icon, according to the current level (%).

This is the info you will know in real time:
• Connection type (AC, USB, Wireless)
• Estimated total charging time
• Input current (mA)
• Max input from charger (mA, V, W)
• Temperature (ºC/°F)
• Voltage (V)
• Watts (W)

An 'Initial Setup' task is included, which needs to be executed on first import, regardless of whether it is imported from TaskerNet or XML.

Although the project obtains the values from the system itself, these will never reflect the accuracy of those returned by specific power meters.

Notes:
- Thanks to @AndersonMarcio, @cruzer_blaze2, @GeovanDamascenofor, @gerardo246, @MeloProfessional and @Valdorg for helping on building and testing/debugging the project.
- Here you will find the task from which the color animation feature was based on. (Credits: @MeloProfessional)
- Single click the notification to show 'Desktop View' mode.
- During the first seconds or perhaps minutes, some of the values may not appear. That's because Tasker must wait for the intent to collect all the corresponding data. If some of them remain unset for a long time, that means that your device doesn't support retrieving such information, or the project is not yet adapted for your device.
- The capacity (%) and temperature (ºC/ºF) can be used as charging limiters to protect the battery and the device itself. When a certain value (configured from 'Setup' task) is detected during charging, the device will automatically cut off the power even if the charger remains plugged in, if rooted; and, a notification (voice) will begin to warn of this situation, if not rooted.
- By default, the 'BM - Timer' profile (trigger: temperature) will check every 10 min if charging can be resumed without user interaction. Configure it according to your needs.
- The file(s) that allows cutting off the power and resuming charging in the background, if supported, must be configured for your device. Look for the actions labeled as yellow (Enable/Disable Charging) on 'BM - Collect Battery Data' task and the task linked to the 'BM - Timer' profile.
- If Tasker fails to write to the 'Enable/Disable Charging' file, try using 'chmod +rw' or a permission that works for you.
- To find the right file(s) for toggling charging in the background, if available for your device, you can try 'ACCA' app, or 'Tasker Charging Switch' project (Credits: @MeloProfessional).
- If you don't know the battery design capacity of your device you can get it using this profile.
- If you see the 'time_error' message for charging time, that means that your SDK is not the minimum required and there was an error getting mAh of your battery. So, you will need to configure the capacity from 'Setup' task, manually.
- A debug task (Debug Task) is included in case the user has problems with erroneous values or not shown. Follow the instructions inside it to know how to use it.

SCREENSHOTS


CREDITS
@SmartPhoneLover
@AndersonMarcio
@cruzer_blaze2
@GeovanDamascenofor
@gerardo246
@MeloProfessional
@Valdorg

CHANGELOG
- New: Added 'computeChargeTimeRemaining()' Java method (SDK >= 28) to calculate charge time. (if SDK < 28, auxiliary method will be used)
- New: (Desktop View), battery color animation, according to its accumulated capacity. (thanks @MeloProfessional) (configure it from 'Setup (UI)' task)
- New: Battery design capacity (mAh) is now automatically retrieved. (if it fails for whatever reason, or the value is not the right one, use the 'Setup' task to configure it manually)
- New: (Desktop View), max input from charger (mA, V, W).
- New: Added 'capacity (%)' and 'temperature (°C/°F)' as charging limits to protect battery. (configure it from 'Setup' task)
- Fix: Battery current when not in µA (default API) was displaying 1mA results. (specific devices)
- Fix: Notification not dismissed when unplugged in some cases.
- Fix: Wrong input current unit definition (mA = speed; mAh = capacity).
- Fix: Task execution collision when the 'BM - Monitor' profile was triggered many times at once (first plug in).
- Other: Re-worked 'Initial Setup' task.
- Other: (Project and Debug Task), root is not needed anymore to retrieve information from '/sys' dir.
- Other: Updated 'Debug Task' task.
- Other: Accumulated capacity (mAh) calculation is not retrieved anymore. (the values where not as accurate as decided)
- Other: Scenes adjusted to be displayed in landscape mode.
- Other: Other small changes to scenes.
- Other: Other small changes and fixes.

DOWNLOAD
Battery Monitor
Project (XML)
Project (TaskerNet)
Debug Task
Task (XML)
Task (TaskerNet)

DOWNLOAD (Ads Supported)
Battery Monitor
Project (XML)
Project (TaskerNet)

Thursday, December 26, 2019

[PROJECT] Battery Monitor v1.2

DESCRIPTION
Here you have a small project to be aware of the status of your battery at the time of charging.

This is the info you will know in real time:
• Temperature (ºC)
• Watts (W)
• Voltage (V)
• Charge current (mA)
• Accumulated capacity (mAh)
• Connection type (AC, USB, Wireless)
• Estimated total charging time

Notes:
- Thanks to @Valdorg for helping on building the project, and @cruzer_blaze2, @MeloProfessional for helping on testing/debugging.
- There's another very similar version of the project from our well known buddy (@MeloProfessional) that you can check on his TSB channel: Go!
- At the time of connection, will be normal that some of the values, during the first seconds or perhaps minutes, may not appear. That's because Tasker must wait for the intent to collect all the corresponding data.
- If you don't know the battery design capacity of your device you can get it using this profile.
- Except for 'Watts (W)', the rest of the values will be gotten without root. But, if non-root fails for whatever reason, root will be used instead.
- A debug task (Debug Task) is included in case the user has problems with erroneous values or not shown. Follow the instructions inside it to know how to use it.

SCREENSHOTS

CREDITS
@SmartPhoneLover
@Valdorg
@cruzer_blaze2
@MeloProfessional

CHANGELOG
- New: Temperature mode selection (°C/°F). (configure it from 'Setup' task)
- New: Debug task (separated from the project) to send logs to me (dev of the project), if it fails reading some of the values. (read notes about it)
- Fix: Unset values due to non-existent files/sources now won't prevent the rest of values not to be updated.

DOWNLOAD
Battery Monitor
Project (XML)
Project (TaskerNet)
Debug Task
Task (XML)

DOWNLOAD (Ads Supported)
Battery Monitor
Project (XML)
Project (TaskerNet)

Monday, December 23, 2019

[PROJECT] Battery Monitor v1.1

DESCRIPTION
Here you have a small project to be aware of the status of your battery at the time of charging. And it works without root, since it doesn't need to read raw values directly from the files located in' /sys/class/power_supply'.

This is the info you will know in real time:
• Temperature (ºC)
• Watts (W) (*)
• Voltage (V)
• Charge current (mA)
• Accumulated capacity (mAh)
• Connection type (AC, USB, Wireless)
• Estimated total charging time

Notes:
- Thanks to @Valdorg for helping on building the project, and @cruzer_blaze2, @MeloProfessional for helping on testing/debugging.
- There's another very similar version of the project from our well known buddy (@MeloProfessional) that you can check on his TSB channel: Go!
- At the time of connection, will be normal that some of the values, during the first seconds or perhaps minutes, may not appear. That's because Tasker must wait for the intent to collect all the corresponding data.
- If you don't know the battery design capacity of your device you can get it using this profile.
- (*) To get that info, the device has to be rooted.

SCREENSHOTS

CREDITS
@SmartPhoneLover
@Valdorg
@cruzer_blaze2
@MeloProfessional

CHANGELOG
- New: Full battery statistics for desktop view (notification with basic info will continue to be visible). (tap notification)
- New: Show how much battery has been charged in mAh during the current session.
- New: Watts measure. (root needed)
- Fix: Missing notification category for Android 8.0+.
- Other: Removed percentage (%) count value. (only for notification)
- Other: Removed all related to statusbar tile. So, no more manual check for battery statistics. Sorry.
- Other: Changed the name of all variables to more descriptive ones.
- Other: Deleted Spanish version.
- Other: Added 'Setup' tasks.
- Other: Minor changes.

DOWNLOAD
Project (XML)
Project (TaskerNet)

DOWNLOAD (Ads Supported)
Project (XML)
Project (TaskerNet)