[Android Apps and Games] rlees85:
BattTemp - Battery Temperature Monitor for OnePlus 3

(no I couldn't think of a better name!)
​

Also tested working on Sony Xperia Z (both Stock and CyanogenMod)

Current Version: 7.0

Last Updated: 15/06/2017

For: OnePlus 3, Xperia Z and LG P990. Will work on MOST others, but these are the only two I have physically tested.

In this update, the battery temperature is acquired using BatteryManager instead of SysFS. Should work on MUCH more devices now...

This is a

very

simple application for keeping tabs on battery temperature. I am a very beginner Android developer and have started to make some simple apps, this being one of the more useful ones. I just thought it would be cool to have the battery temperature in the notification bar, plus there are lots of threads on here mentioning about glue lifting (Xperia Z)/etc when temperatures are high, plus other more catastrophic overheating stories involving complete failure caused by (extreme) overheating.

There is a much better app for doing this in Google Play but my app is free and also works below 10c unlike the one by Dustinmj (I tested mine in the fridge down to -1C, as you do).

FAQ - Please read before downloading!

Q: Do you take any responsibility if this breaks my phone/Android device?

A:

NO

although I would be interested to know how.

Q: What license does the app have?

A: None... its not GPL/etc but it is open source and free... It is just a beginner learning to program. Feel free to pass it along/make changes/etc as long as you do not take credit for the original app.

Q: Does this work on Stock?

A: Yes

Q: Does this work on CyanogenMod?

A: Yes CM13 tested

Q: Does this work on my Nexus/Galaxy S4/Zanussi fridge freezer/other devices?

A: Doubtful, maybe if it has a Qualcomm chip. If (in the unlikely event) you are keen to run this app on your non-tested device it can be made possible quite easily.

Q: What about my Note 7? :eek:

A: Sorry, I have no idea and I don't think this app will save you, or your house :(

Q: How often does the temperature update?

A: In the notification bar every 30 seconds. In the app itself (when open) every 10 seconds.

Q: Will this drain my battery?

A: Tests conclude it does not. All services, alarms, updates, etc are configured to NOT run when phone is in sleep. This app should never wake the phone. The app will stop updating when phone is sleeping and update as soon as phone is awake again. If you find a drain, please let me know!

Q: Whats with all the pretty colours?

A: So it might not be to your taste, I know it isn't the year 2000 anymore (or IOS for that matter), but I happen to like colours... The application notification is coloured in the following way:

Freezing and below

Cold (1-5C)

Cool (6-15C)

Optimal (16-29C)

Warm (30-39C)

Hot (40-44C)

Overheat (45C)

You should not charge li-ion batteries below 0C or above 45C. Within 5 degrees of each isn't really recommended much either...

Q: What logcat filters does this application use?

A: uk.org.bitservices.BattTemp.BSBootRecv and uk.org.bitservices.BattTemp.BatteryStats

Q: Will you include SafetyNet to stop rooted users from somehow using this mighty power to manipulate the battery temperature in order to fry bacon with their OnePlus?

A: No... just no.

Q: Why you sharing this junk?

A: I wrote this purely to "have a play" with Eclipse and Android development and the app itself purely for my own purposes. I am just posting it here in case anyone else may find it useful... if not, still nothing lost :)

Permissions - and why!

START ON BOOT: If the application service is started, it will resume the notification on boot. This permission allows this to happen.

Download - and how to use.

Download and install the APK (look in Attachments!)

To view temperature of battery, run the application.

To enable the notification bar icon, run the application, press the settings button and press 'Start Service'. Please note this will be persisted even after a reboot. To remove the icon go back into the application, press settings and press 'Stop Service'. Nice and simple :good:

XDA:DevDB Information

BattTemp, App for all devices (see above for details)

Contributors

rlees85

Source Code: https://gitlab.com/rlees85/BattTemp

Version Information

Status: Stable

Current Stable Version: 7

Stable Release Date: 2017-06-15

Created 2016-10-19

Last Updated 2017-06-15