Recent reboot reason is updated. Mitigation logger needs to be updated
per change.
Bug: 239548433
Test: Confirm lastmeal is generated.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I7a9fd4225e5f3b0843e666f77296441ff44fbc4b
Bugreport cannot access lastmeal.txt due to access right.
Bug: 239709385
Test: confirm lastmeal.txt has system:system
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I50375ae10a7018b059245afbe571b6c0280ae808
Earlier change removed the path without removing the indexer to the
corresponding array. This change fixes this.
Bug: 236296247
Test: Build and confirm reading is valid
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ic6335b252a01c7d80102cdbbc4f5dbf3a1639b55
Add additional file path to make copy of captured log.
Bug: 237282212
Test: Verified lastmeal.txt and thismeal.txt existence.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I77606bf679c3eb1c55f2b135a6265e0e0e837c77
Add DVFS monitoring to mitigation logging.
Bug: 228383769
Test: Confirm state logging
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I38b75eef1639b4a8959100b37e9064be04a53ede
Mitigation Logger logs battery related information for 1 second when it
is triggered by under voltage or over current interrupts. Information
collected is to help debug system brownout.
Bug: 228383769
Test: Boot and Test
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Icc5bf599eff7715545ed66d352ec00ae5d633aa0