xtcian / currentwidget

Automatically exported from code.google.com/p/currentwidget
0 stars 0 forks source link

Implement current sensing on Sony ST25i #42

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I think the current value is located at 
/sys/class/power_supply/ab8500_fg/current_now on Xepria U with the unit of uA. 
When connected with USB and charging it shows changing value around 397000 to 
401000.
AB8500 PMIC manual is found at: 
http://m.stericsson.com/ST_Ericsson_Mobile/developers/CD00291561_UM1031_AB8500_u
ser_manual-rev5_CTDS_public.pdf
Other useful stuff found under /sys/class/power_supply/ab8500_fg/:
capacity
capacity_level
charge_full
charge_full_design
charge_now
current_avg
current_now
energy_full
energy_full_design
energy_now
type("Battery")
voltage_now

Original issue reported on code.google.com by zhangchi...@gmail.com on 14 Oct 2012 at 10:24

GoogleCodeExporter commented 8 years ago
Thanks, I'll add it.
Do you currently see "no data" in CurrentWidget ?

Original comment by ran.ma...@gmail.com on 6 Jan 2013 at 8:29

GoogleCodeExporter commented 8 years ago
Yes, currently "no data".

Original comment by zhangchi...@gmail.com on 6 Jan 2013 at 1:02

GoogleCodeExporter commented 8 years ago
ok, so I added it to the next version of CurrentWidget and it should read this 
file.

Original comment by ran.ma...@gmail.com on 6 Jan 2013 at 1:09

GoogleCodeExporter commented 8 years ago

Original comment by ran.ma...@gmail.com on 10 Jan 2013 at 9:32

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Thanks, it works perfectly now. Here is a screenshot.

Original comment by zhangchi...@gmail.com on 12 Jan 2013 at 4:44

Attachments: