(no I couldn't think of a better name!)
Current Version: 3.0
Last Updated: 29/10/2013
For: Xperia Z hence why it is posted here and not the DevDB
Note: Currently only tested on Cyanogenmod! May not work on Stock!
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/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).
Known Issues - Please read before downloading!
1: Possible memory leak, starts running using ~5mb RAM and can increase by ~0.1mb every 30 seconds until it reaches around ~20mb. After some time this seems to reset back down to ~5mb. I cannot repeat this on the emulator no matter how hard I try. This may even be normal behavior, the Google Keyboard and other apps also do the same.
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/OpenSource and it is 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: Not sure - PLEASE let me know!
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-Xperia Z device it can be made possible quite easily.
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
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: 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