Skip to content

Commit

Permalink
Added: add meizu pro 5 current_now path
Browse files Browse the repository at this point in the history
  • Loading branch information
dezng authored and andrewleo committed Sep 14, 2016
1 parent 0edd274 commit 415bdf5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/com/netease/qa/emmagee/utils/CurrentInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ public Long getCurrentValue() {
if (f.exists())
return getCurrentValue(f, true);

// meizu pro 5
f = new File("/sys/class/power_supply/bq2753x-0/current_now");
if (f.exists())
return getCurrentValue(f, true);

// galaxy note, galaxy s2
f = new File(BATT_CURRENT_ADC);
if (f.exists())
Expand Down

0 comments on commit 415bdf5

Please sign in to comment.