Hacker Newsnew | past | comments | ask | show | jobs | submitlogin



No it's not. That does not expose voltage and current.

The research paper says they're doing this ...

  ... by repeatedly reading the following two files:
  /sys/class/power_supply/battery/voltage_now
  /sys/class/power_supply/battery/current_now


Not at a simplistic level, no, but voltage you could derive from the discharge curve of a characterized battery (since we know fraction of charge remaining), and current could probably be approximated by looking at the rate of discharge.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: