summaryrefslogtreecommitdiff
path: root/health
diff options
context:
space:
mode:
authorStephane Lee <stayfan@google.com>2020-01-07 13:40:26 -0800
committerStephane Lee <stayfan@google.com>2020-01-14 18:39:33 -0800
commitd311e535337fd498eec61cb466539b8b35a7fe7f (patch)
tree63ca0a960b76d6460dee8ac625f03395b3bc5cc7 /health
parent33a6d9d6d96cb5f790f8dd5a0710ea1026e9c2a6 (diff)
downloadpixel-d311e535337fd498eec61cb466539b8b35a7fe7f.tar.gz
Replace /persist to /mnt/vendor/persist
Test: Ensure that /mnt/vendor/persist/battery/serial_number reads a valid serial number (both before/after the change) Bug: b/143853986 Change-Id: I3d400c021f56d6e1ee08c0f9af332378afd54e44
Diffstat (limited to 'health')
-rw-r--r--health/include/pixelhealth/CycleCountBackupRestore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/health/include/pixelhealth/CycleCountBackupRestore.h b/health/include/pixelhealth/CycleCountBackupRestore.h
index bdac8899..a646c658 100644
--- a/health/include/pixelhealth/CycleCountBackupRestore.h
+++ b/health/include/pixelhealth/CycleCountBackupRestore.h
@@ -35,7 +35,7 @@ class CycleCountBackupRestore {
void Backup(int battery_level);
private:
- const char *kPersistSerial = "/persist/battery/serial_number";
+ const char *kPersistSerial = "/mnt/vendor/persist/battery/serial_number";
int nb_buckets_;
int *sw_bins_;