[Magisk] Azims Lives:
My battery stops charging at 80% and stays at 80% forever when plugged in. The battery only starts dropping after I unplug from charger. After that my phone charging for a few seconds and stop charging, and continue doing that behavior.

logs:

Thu Dec 27 05:50:28 MYT 2018
versionCode=201812261

/sys/class/power_supply/battery/StartCharging_Test
chr=1

/sys/class/power_supply/battery/StopCharging_Test
chr=0

/sys/class/power_supply/battery/battery_type
wingtech-xingwangda-4v4-3030mah

/sys/class/power_supply/battery/capacity
55

/sys/class/power_supply/battery/charge_full
3030

/sys/class/power_supply/battery/charge_full_design
3030

/sys/class/power_supply/battery/charge_type
N/A

/sys/class/power_supply/battery/charging_enabled
0

/sys/class/power_supply/battery/current_now
1000

/sys/class/power_supply/battery/health
Good

/sys/class/power_supply/battery/model_name
SMB358

/sys/class/power_supply/battery/present
1

/sys/class/power_supply/battery/resistance_id
50

/sys/class/power_supply/battery/status
Not charging

/sys/class/power_supply/battery/system_temp_level
1

/sys/class/power_supply/battery/technology
Li-poly

/sys/class/power_supply/battery/temp
340

/sys/class/power_supply/battery/type
Battery

/sys/class/power_supply/battery/uevent
POWER_SUPPLY_NAME=battery
POWER_SUPPLY_STATUS=Not charging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_CHARGING_ENABLED=0
POWER_SUPPLY_CHARGE_TYPE=N/A
POWER_SUPPLY_CAPACITY=55
POWER_SUPPLY_HEALTH=Good
POWER_SUPPLY_TECHNOLOGY=Li-poly
POWER_SUPPLY_MODEL_NAME=SMB358
POWER_SUPPLY_TEMP=340
POWER_SUPPLY_VOLTAGE_NOW=3882000
POWER_SUPPLY_CURRENT_NOW=1000
POWER_SUPPLY_SYSTEM_TEMP_LEVEL=1
POWER_SUPPLY_CHARGE_FULL_DESIGN=3030
POWER_SUPPLY_CHARGE_FULL=3030
POWER_SUPPLY_BATTERY_TYPE=wingtech-xingwangda-4v4-3030mah
POWER_SUPPLY_RESISTANCE_ID=50

/sys/class/power_supply/battery/voltage_now
3882000

/sys/class/power_supply/rk-bat/capacity
55

/sys/class/power_supply/rk-bat/present
1

/sys/class/power_supply/rk-bat/technology
Li-poly

/sys/class/power_supply/rk-bat/time_to_empty_now
121

/sys/class/power_supply/rk-bat/type
Battery

/sys/class/power_supply/rk-bat/uevent
POWER_SUPPLY_NAME=rk-bat
POWER_SUPPLY_CAPACITY=55
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_VOLTAGE_NOW=3882000
POWER_SUPPLY_TIME_TO_EMPTY_NOW=121
POWER_SUPPLY_TECHNOLOGY=Li-poly

/sys/class/power_supply/rk-bat/voltage_now
3882000

/sys/class/power_supply/usb/current_max
0

/sys/class/power_supply/usb/dp_dm
0

/sys/class/power_supply/usb/health
Unknown

/sys/class/power_supply/usb/input_current_max
0

/sys/class/power_supply/usb/online
0

/sys/class/power_supply/usb/present
0

/sys/class/power_supply/usb/scope
Device

/sys/class/power_supply/usb/type
Unknown

/sys/class/power_supply/usb/uevent
POWER_SUPPLY_NAME=usb
POWER_SUPPLY_HEALTH=Unknown
POWER_SUPPLY_PRESENT=0
POWER_SUPPLY_ONLINE=0
POWER_SUPPLY_VOLTAGE_MAX=0
POWER_SUPPLY_CURRENT_MAX=0
POWER_SUPPLY_INPUT_CURRENT_MAX=0
POWER_SUPPLY_SCOPE=Device
POWER_SUPPLY_TYPE=Unknown
POWER_SUPPLY_VOLTAGE_NOW=-19
POWER_SUPPLY_DP_DM=0
POWER_SUPPLY_USB_OTG=0

/sys/class/power_supply/usb/usb_otg
0

/sys/class/power_supply/usb/voltage_max
0

/sys/class/power_supply/usb/voltage_now
-19

[ro.build.product]: [rolex]
[ro.product.board]: [QC_Reference_Phone]
[ro.product.brand]: [Xiaomi]
[ro.product.cpu.abi]: [arm64-v8a]
[ro.product.cpu.abilist]: [arm64-v8a,armeabi-v7a,armeabi]
[ro.product.cpu.abilist32]: [armeabi-v7a,armeabi]
[ro.product.cpu.abilist64]: [arm64-v8a]
[ro.product.cuptsm]: [XIAOMI|ESE|02|01]
[ro.product.device]: [rolex]
[ro.product.first_api_level]: [23]
[ro.product.locale]: [en-GB]
[ro.product.locale.language]: [ms]
[ro.product.locale.region]: [MY]
[ro.product.manufacturer]: [Xiaomi]
[ro.product.mod_device]: [rolex_global]
[ro.product.model]: [Redmi 4A]
[ro.product.name]: [rolex]
[ro.product.wt.boardid]: [S88503AC1]

[gsm.version.baseband]: [MPSS.JO.3.0-00369-8937_GENNS_PACK-2.141921.1.149578.1_V009]
[gsm.version.baseband1]: [MPSS.JO.3.0-00369-8937_GENNS_PACK-2.141921.1.149578.1_V009]
[gsm.version.ril-impl]: [Qualcomm RIL 1.0]
[ro.build.software.version]: [Android7.1.2_10]
[ro.build.version.all_codenames]: [REL]
[ro.build.version.base_os]: []
[ro.build.version.codename]: [REL]
[ro.build.version.incremental]: [V10.1.1.0.NCCMIFI]
[ro.build.version.preview_sdk]: [0]
[ro.build.version.release]: [7.1.2]
[ro.build.version.sdk]: [25]
[ro.build.version.security_patch]: [2018-07-01]
[ro.com.google.gmsversion]: [7.1_201803]
[ro.miui.ui.version.code]: [8]
[ro.miui.ui.version.name]: [V10]
[ro.miui.version.code_time]: [1536771600]
[ro.opengles.version]: [196608]

plugged in (connected to pc):

rolex:/ $ su -c dumpsys battery
Current Battery Service state:
AC powered: false
USB powered: true
Wireless powered: false
Max charging current: 0
Max charging voltage: 0
Charge counter: 0
status: 4
health: 2
present: true
level: 78
scale: 100
voltage: 4034
temperature: 350
technology: Li-poly

unplugged:

rolex:/ $ su -c dumpsys battery
Current Battery Service state:
AC powered: false
USB powered: false
Wireless powered: false
Max charging current: 0
Max charging voltage: 0
Charge counter: 0
status: 4
health: 2
present: true
level: 74
scale: 100
voltage: 4049
temperature: 350
technology: Li-poly