08-08-2017 05:23 PM
A partial solution....
1/ The problem is almost certainly caused by a faulty connection or battery temperature sensor, so that the software thinks the battery is too cold to be charged
2/ Starting your phone in factory mode overrides the software which stops the battery charging - at least to some degree - and usually allows the phone to charge to 80% ish..
3/ Sometimes restarting (normal mode) the phone will keep recharging.
Note - this seems to be a problem on many brands of phone.
The solution does NOT generally seem to be to replace the battery...
I have not yet found a full solution.
08-09-2017 07:06 AM
Same problem, described as follows:
#!/bin/sh echo "Starting script to force charge" while : do connected=`cat /sys/class/power_supply/usb/present` if [ "$connected" == "1" ]; then echo 1 > /sys/class/power_supply/battery/charging_enabled sleep 10 else sleep 60 fi done echo "Script finished"
As other users supose, I think there is a hardware issue with one temperature sensor in the main board, and that triggers a protect mechanism that avoids the charging process. I think it's not related with battery sensors because changing it does not solve the issue. Also it's not related to software, because flashing other ROMs didn't solve it either.
I hope Motorola Staff could give us a solution that allow us to keep using this phone. I was thinking they could provide a way to disable that "protect mechanism" safely.
11-03-2017 11:34 PM
Same thing happened to me after Nougat update, BUT the phone shut down because I updated without it being plugged in! Whilst charging, the battery icon doesn't show up - I left it for awhile 45 mins? then turned it on - it booted! so I think battery has to be at about 45% until it turns on, but because there's no icon, you don't know until you leave it, ....impatient....freaking out, etc.... just leave it for a bit
12-28-2018 06:19 AM - edited 12-28-2018 07:17 AM
Yes there is a problem with the battery temperature sensor on my phone also.
My phone runs Lineage OS 15.1 but as you noted this problem is hadware so using another rom does not help.
Using a 'Droid Info' application the Battery temperature sensor is showing -30 degrees and is therefore not charging.
About your script I saved it as 'charge.sh' in the phone internal memory. so in a Terminal emulator i did
'cd / sdcard' and then 'sh charge.sh' to run it but after the echo line 'Starting script to force charge' I get a:
'cat: /sys/class/power_supply/usb/present: Permission denied'
Any idea why I get this error ?
Should the script be place in a special directory or run in a special way?
Thanks in advance