Quote: Originally Posted by Haldi4803 Originally Posted by awesome!



Question: If you check the /sys/devices/qpnp-charger-f2e45000(or similar)/power_supply/battery/voltage_now file does it show 9V or the actual voltage that reaches the battery? (which would be around 4-4.5) /current_now file should show the exact same as all other widgets.



Oh.... Btw does QC2.0 work over Magnetic Ports?

yes it shows battery voltage, 3.9xx, just becsuse my batery is 15%.WHEN I CONNECT QC CHARGER ON USB PORT, THE VALUES:-on sys/devices/msm_dwc3/power_supply/usb (which is under /sys/class/power_supply/usb)1) POWER_SUPPLY_VOLTAGE_NOW- 85753002)POWER_SUPPLY_VOLTAGE_MAXIMUM-90000003)POWER_SUPPLY_ONLINE-14)POWER_SUPPLY_PRESENT - 15)POWER_SUPPLY_TYPE- USB_DCP6)POWER_SUPPLY_CURRENT_MAX - 15000007)POWER_SUPPLY_CURRENT_SYSTEM_MAX- 15000008)POWER_SUPPLY_SCOPE-unknown9)POWER_SUPPLY_NAME=usbWHEN I DISCONNECT QC AND AGAIN CHECK THE VALUESPOWER_SUPPLY_NAME=USBPOWER_SUPPLY PRESENT/POWER_SUPPLY_ONLINE=0POWER_SUPPLY_VOLTAGE_MAXIMUM=9000000POWER_SUPPLY_CURRENT_MAX=0POWER_SUPPLY_CURRENT_SYSTEM_MAX=1500000POWER_SUPPLY_VOLTAGE_NOW=135000POWER_SUPPLY_SCOPE/POWER_SUPPLY_TYPE= UNKNOWNcan you check if sys/devices/msm_dwc3/power_supply/usb folder is present on normal Z2 os? i mean its original os? i think it may not be there. since its kernel files, and normal kernel wont have qc feature, it may not be present, and that may be the reason we dont have qc in normal os. btw, i am using stock kernel from docomo.qc dont seems to work through magnetic dock, it may be because there is a handshake protocol between charger and phone, which is done via usb d+ and d- lines, and if that is done with proper voltage levels on both the lines, the charger will output 9v. since it wont happen in magnetic dock, only 5v is given to it.