[ROM][P][PORTED] Android P Developer Preview

Status
Not open for further replies.

Vcek

Senior Member
Aug 27, 2011
1,167
338
0
Alexandria
For anyone interested in turning the charging/low battery led off create a script in /data/local/ and save it as userinit.sh

Script code:
echo 0 > /sys/devices/soc/leds-qpnp-9/leds/charging/max_brightness

This script will automatically be executed on boot.

FYI this led is aimed at the light sensor and will turn up to max brightness with auto brightness causing high battery drain on low battery.

To undo the changes just delete or rename the script file and reboot.
 
  • Like
Reactions: JuniorCaesar

Loverj

Senior Member
Jan 6, 2013
123
17
0
actually my device run on Android P ported from last 3 months. thanks to erfanoabdi sir
but last few weeks my going switched off suddenly even battery more than 50%
so this is battery issue or firmware
my device is one yr old , I checked o some apps. Like ampere For battery health... App show battery health good...

What I do... Pls suggest me
 

aayush1806

Member
Jan 19, 2018
15
1
3
actually my device run on Android P ported from last 3 months. thanks to erfanoabdi sir
but last few weeks my going switched off suddenly even battery more than 50%
so this is battery issue or firmware
my device is one yr old , I checked o some apps. Like ampere For battery health... App show battery health good...

What I do... Pls suggest me
I am on android 8.1, I am also facing same problem. :(:(
 

elvisdnz

Member
Sep 29, 2014
7
2
0
actually my device run on Android P ported from last 3 months. thanks to erfanoabdi sir
but last few weeks my going switched off suddenly even battery more than 50%
so this is battery issue or firmware
my device is one yr old , I checked o some apps. Like ampere For battery health... App show battery health good...

What I do... Pls suggest me
I had same problem. Started, in 5% and in less then 1 month was shutting down at 80%.
Not matter what rom I was using, stock, los15, los16 etc. The problems persisted.
I replaced the battery and is fine now.
 

Sharma_Ji

Senior Member
Oct 17, 2016
898
304
73
Bikaner
actually my device run on Android P ported from last 3 months. thanks to erfanoabdi sir
but last few weeks my going switched off suddenly even battery more than 50%
so this is battery issue or firmware
my device is one yr old , I checked o some apps. Like ampere For battery health... App show battery health good...

What I do... Pls suggest me
Yup, typical battery problem in moto phones.
Replace your battery

Sent from my Lenovo Zuk Z1 using XDA Labs
 
Status
Not open for further replies.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone