xtcian / currentwidget

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

Support for Cynus T1 (and maby other MTK based Phones?) #46

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
as I cant compile the Source because of Problems with the ambilwarna
please add: 

// Cynus T1
if (Build.MODEL.equalsIgnoreCase("Cynus")) {
f = new 
File("/sys/devices/platform/mt6329-battery/FG_Battery_CurrentConsumption");
if (f.exists())
return OneLineReader.getValue(f, false);
}

the File contains the current as a 4digit Integer.

Thank You
JJ

Original issue reported on code.google.com by j.jacobs...@gmail.com on 30 Mar 2013 at 2:47

GoogleCodeExporter commented 8 years ago
no Issue - only a Wish :)

Original comment by j.jacobs...@gmail.com on 30 Mar 2013 at 2:48

GoogleCodeExporter commented 8 years ago
Sure, I'll add it to the next version.

Original comment by ran.ma...@gmail.com on 31 Mar 2013 at 11:05