Skip to content

Commit

Permalink
Temporarily removing battery level read
Browse files Browse the repository at this point in the history
  • Loading branch information
ktind committed Nov 7, 2014
1 parent 0549415 commit 6019286
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@ private void handleActionSync(int numOfPages) {
// set to a negative number. This situation will eventually correct itself.
long nextUploadTime = TimeConstants.FIVE_MINUTES_MS - (timeSinceLastRecord * TimeConstants.SEC_TO_MS);
long displayTime = readData.readDisplayTime().getTime();
int batLevel = readData.readBatteryLevel();
// FIXME: Device seems to flake out on battery level reads. Removing for now.
// int batLevel = readData.readBatteryLevel();
int batLevel = 100;

// convert into json for d3 plot
JSONArray array = new JSONArray();
Expand Down

0 comments on commit 6019286

Please sign in to comment.