[Q] Android battery sensor offset Samsung galaxy s4


I got an s4 that got water damage, I only knew after buying it. Now, I have a "charging paused battery temperature too high" message. I have tried changing the flex cable, it doesn't work nor changing the battery. The phone battery sensor show temperatures ranging from 70 to 80 which is exaggerated. I looked for an app that would allow me to offset the temperature by -30 degrees Celsius, with no luck.

Looking at the Android SDK I realized that the battery info could only be extracted as a constant. I'm guessing it is controlled by the kernel. However I came across an interesting document on how to configure the battery service for Android X-86.

on /sys/class/power_supply/ there are files that are used by the SDK in order to provide information (the constants mentioned above). That is if I understood everything correctly.

Anybody knows how I could modify file systems to offset the temperature? the problem might be on the motherboard, I don't want to change it.

thank you.

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by gay27
35 minutes ago
Last post by scotty40
4 hours ago
Last post by xokuneva
3 hours ago
Last post by wjohnson
1 hour ago
Last post by funk.karlie
3 hours ago
Last post by ikiehn
3 hours ago
Last post by lolita11
4 hours ago
Last post by wbechtelar
3 hours ago