Battery stats in Ubuntu
#4
Thats nice to see since I am about to order a battery for my Pine. The PMIC has some more features for battery charging and monitoring that can be / need to be configured... that's something that needs to be worked out I guess... it has a "Fuel Gauge" feature for example that needs to be calibrated (like the battery gauges in the smart batteries for laptops ...) and programmable charge current / cut off voltage....

Just FYI, you can also read out the system voltages (set values) from the PMIC from the sysfs:

Code:
ubuntu@pine64:~$ ./pmic_state
Regulator  1 (   axp81x_dcdc1) : vcc-nand vcc-emmc vcc-sdc vcc-usb-30 vcc-io vcc-pd :  enabled ( 2 users) = 3300 mV (min=   1600 mV, max=   3400 mV
Regulator  2 (   axp81x_dcdc2) :                                           vdd-cpua :  enabled ( 0 users) = 1040 mV (min=    500 mV, max=   1300 mV
Regulator  3 (   axp81x_dcdc3) :                                               none :  enabled ( 0 users) = 1100 mV (min=    500 mV, max=   1300 mV
Regulator  4 (   axp81x_dcdc4) :                                               none : disabled ( 0 users) = 1100 mV (min=    500 mV, max=   1300 mV
Regulator  5 (   axp81x_dcdc5) :                                           vcc-dram :  enabled ( 0 users) = 1500 mV (min=    800 mV, max=   1840 mV
Regulator  6 (   axp81x_dcdc6) :                                            vdd-sys :  enabled ( 0 users) = 1100 mV (min=    600 mV, max=   1520 mV
Regulator  7 (   axp81x_dcdc7) :                                               none : disabled ( 0 users) = 1000 mV (min=    600 mV, max=   1520 mV
Regulator  8 (     axp81x_rtc) :                                               none : disabled ( 0 users) = 3000 mV (min=   3000 mV, max=   3000 mV
Regulator  9 (   axp81x_aldo1) :                       vdd-csi-led iovdd-csi vcc-pe : disabled ( 0 users) = 2800 mV (min=    700 mV, max=   3300 mV
Regulator 10 (   axp81x_aldo2) :                                             vcc-pl :  enabled ( 0 users) = 1800 mV (min=    700 mV, max=   3300 mV
Regulator 11 (   axp81x_aldo3) :                                   vcc-avcc vcc-pll :  enabled ( 0 users) = 3000 mV (min=    700 mV, max=   3300 mV
Regulator 12 (   axp81x_dldo1) :                                        vcc-hdmi-33 :  enabled ( 1 users) = 3300 mV (min=    700 mV, max=   3300 mV
Regulator 13 (   axp81x_dldo2) :                                           vcc-mipi : disabled ( 0 users) = 3300 mV (min=    700 mV, max=   4200 mV
Regulator 14 (   axp81x_dldo3) :                                           avdd-csi : disabled ( 0 users) = 2800 mV (min=    700 mV, max=   3300 mV
Regulator 15 (   axp81x_dldo4) :                                       vcc-deviceio :  enabled ( 0 users) = 3300 mV (min=    700 mV, max=   3300 mV
Regulator 16 (   axp81x_eldo1) :                vcc-cpvdd vcc-wifi-io vcc-pc vcc-pg :  enabled ( 2 users) = 1800 mV (min=    700 mV, max=   1900 mV
Regulator 17 (   axp81x_eldo2) :                                          vcc-lcd-0 : disabled ( 0 users) = 1800 mV (min=    700 mV, max=   1900 mV
Regulator 18 (   axp81x_eldo3) :                                        dvdd-csi-18 : disabled ( 0 users) = 1800 mV (min=    700 mV, max=   1900 mV
Regulator 19 (   axp81x_fldo1) :                                        vcc-hsic-12 : disabled ( 0 users) = 1200 mV (min=    700 mV, max=   1450 mV
Regulator 20 (   axp81x_fldo2) :                                           vdd-cpus :  enabled ( 0 users) = 1100 mV (min=    700 mV, max=   1450 mV
Regulator 21 (axp81x_gpio0ldo) :                                            vcc-ctp : disabled ( 0 users) = 3100 mV (min=    700 mV, max=   3300 mV
Regulator 22 (axp81x_gpio1ldo) :                                               none : disabled ( 0 users) = 3300 mV (min=    700 mV, max=   3300 mV
Regulator 23 (   axp81x_dc1sw) :                                vcc-lvds vcc-dsi-33 :  enabled ( 1 users) = 1600 mV (min=      0 mV, max=      0 mV
ubuntu@pine64:~$
Come have a chat in the Pine IRC channel >>
  Reply


Messages In This Thread
Battery stats in Ubuntu - by mcalderwood - 06-16-2016, 12:26 PM
RE: Battery stats in Ubuntu - by xalius - 06-16-2016, 12:53 PM
RE: Battery stats in Ubuntu - by mcalderwood - 06-16-2016, 01:12 PM
RE: Battery stats in Ubuntu - by xalius - 06-16-2016, 01:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Ubuntu server 20.04 request phi0x 2 6,101 12-30-2020, 08:02 PM
Last Post: phi0x
  SPI on ubuntu IlyaM 4 10,143 07-16-2018, 03:00 AM
Last Post: kingflab
  Ubuntu password not working joemassimino 4 9,563 05-18-2018, 03:33 PM
Last Post: Luke
  After flashing Ubuntu- how to get graphical desktop Partymack711 6 11,990 02-01-2018, 09:45 AM
Last Post: Partymack711
  (ARCHIVED) Ubuntu Xenial Image (BSP Kernel) longsleep 337 698,168 01-31-2018, 11:58 AM
Last Post: Luke
  PPTP doesnt work with ubuntu escovedo 2 9,653 08-23-2017, 09:28 AM
Last Post: gilbertotcc
Question HELP Ubuntu Mate password recovery procedure Captain Anni Hilator 5 10,960 08-03-2017, 03:52 PM
Last Post: Luke
  Ubuntu boot very slow with wifi driver remainder 9 22,171 08-03-2017, 07:23 AM
Last Post: victorssantos
  Recovering root access in Ubuntu Scientomancer 3 6,637 07-28-2017, 02:53 PM
Last Post: Scientomancer
  Pine64 2Gb Ubuntu Mono not updating and stuck petec 0 3,143 07-08-2017, 09:34 AM
Last Post: petec

Forum Jump:


Users browsing this thread: 1 Guest(s)