Jump to content

Missing Battery Infos


Go to solution Solved by martinayotte,

Recommended Posts

Posted

hi,

 

i' using kernel 4.11.5-sunxi #3, before i used kernel 3.4.113-sunxi7i.

 

i had a script running to collect infos, but now none of the files are there anymore, why?

 

cat /sys/class/power_supply/ac/present
cat /sys/class/power_supply/ac/voltage_now
cat /sys/class/power_supply/ac/current_now
cat /sys/class/power_supply/battery/status
cat /sys/class/power_supply/battery/voltage_now
cat /sys/class/power_supply/battery/current_now
cat /sys/class/power_supply/usb/present
cat /sys/class/power_supply/usb/voltage_now
cat /sys/class/power_supply/usb/current_now
cat /sys/devices/platform/sunxi-i2c.0/i2c-0/0-0034/temp1_input

 

regards

  • Solution
Posted

From what I understood, Mainline has different folder hierarchy.

Check those :

/sys/power/axp_pmu/ac

/sys/power/axp_pmu/battery

/sys/power/axp_pmu/vbus

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines