odd charging problem with BQ E4.5 OTA-3 r3



  • I have an odd charging problem with the above device. It charges fine with the normal charger provided by BQ, but it seems to have a problem with some USB charger gadget, build by my own 10 years ago and used all the time with my E4.5 running the Canonical UT versions.

    The charger is the so called 'minty boost', see here:
    https://learn.adafruit.com/minty-boost?view=all

    When this is used for charging, the device says it is charging, but does not do so. Here are the details:

    Without the charger connected the ..../battery/ file says:

    phablet@ubuntu-phablet:/sys/devices/platform/battery/power_supply/battery$ ls -l
    total 0
    -r--r--r-- 1 root root 4096 Oct 13 09:42 BatteryAverageCurrent
    -r--r--r-- 1 root root 4096 Oct 13 09:42 BatterySenseVoltage
    -r--r--r-- 1 root root 4096 Oct 13 09:42 batt_temp
    -r--r--r-- 1 root root 4096 Oct 13 09:42 batt_vol
    -r--r--r-- 1 root root 4096 Oct 12 19:51 capacity
    -r--r--r-- 1 root root 4096 Oct 12 19:51 capacity_2nd
    -r--r--r-- 1 root root 4096 Oct 13 09:42 ChargerVoltage
    lrwxrwxrwx 1 root root    0 Oct 13 09:42 device -> ../../../battery
    -r--r--r-- 1 root root 4096 Oct 12 19:51 health
    -r--r--r-- 1 root root 4096 Oct 13 09:42 InstatVolt
    -r--r--r-- 1 root root 4096 Oct 13 09:42 ISenseVoltage
    drwxr-xr-x 2 root root    0 Oct 13 09:42 power
    -r--r--r-- 1 root root 4096 Oct 12 19:51 present
    -r--r--r-- 1 root root 4096 Oct 12 19:51 present_2nd
    -r--r--r-- 1 root root 4096 Oct 12 19:51 status
    -r--r--r-- 1 root root 4096 Oct 12 19:51 status_2nd
    lrwxrwxrwx 1 root root    0 Oct 13 09:42 subsystem -> ../../../../../class/power_supply
    -r--r--r-- 1 root root 4096 Oct 12 19:51 technology
    -r--r--r-- 1 root root 4096 Oct 12 19:51 temp
    -r--r--r-- 1 root root 4096 Oct 13 09:42 TempBattVoltage
    -r--r--r-- 1 root root 4096 Oct 13 09:42 TemperatureR
    -r--r--r-- 1 root root 4096 Oct 13 09:42 type
    -rw-r--r-- 1 root root 4096 Oct 12 19:52 uevent
    -r--r--r-- 1 root root 4096 Oct 12 19:51 voltage_max_design
    -r--r--r-- 1 root root 4096 Oct 12 19:51 voltage_now
    
    phablet@ubuntu-phablet:/sys/devices/platform/battery/power_supply/battery$ grep '.' capacity*
    capacity:90
    capacity_2nd:50
    phablet@ubuntu-phablet:/sys/devices/platform/battery/power_supply/battery$ grep a stat*
    status:Discharging
    status_2nd:Discharging
    

    Why there are two files, status and status_2nd, and capacity and capacity_2nd? This was not with Canonicals versions.

    When I now plug-in the minty boost charger it shows that it is charging:

    phablet@ubuntu-phablet:/sys/devices/platform/battery/power_supply/battery$ grep a stat*
    status:Charging
    status_2nd:Discharging
    

    and on the display too:

    • battery symbol in the bar on top turns green
    • battery screen shows: Charging now and Charge level 90%

    But the battery level is going down:

    10 minutes later:

    phablet@ubuntu-phablet:/sys/devices/platform/battery/power_supply/battery$ grep a stat*
    status:Charging
    status_2nd:Discharging
    phablet@ubuntu-phablet:/sys/devices/platform/battery/power_supply/battery$ grep '.' capacity*
    capacity:86
    capacity_2nd:50
    

    Why is this?

    When I use the same charger and same cable with another E4.5, still running the latest Canonical OTA, it works fine.



  • Is there some developer forum / channel where I could bring this up?


Log in to reply
 

Looks like your connection to UBports Forum was lost, please wait while we try to reconnect.