Commit graph

7 commits

Author SHA1 Message Date
Sayanna Chandula
44f40fe147 Revert "thermal: remove gxp cooling device dependency"
This reverts commit 617f8719f5.

Re-enable gxp cooling device

Bug: 238273184
Test: build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I3787c11e674b6781b81d01aad2abc88d99c1d1d0
2022-09-19 11:45:04 -07:00
Sayanna Chandula
7d7c776e0a Revert "thermal: Fix misalignment from removal of gxp cdev"
This reverts commit baedb92abf.

Re-enable gxp cooling device

Bug: 238273184
Test: build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I341636bc5e7d8feced4593fdbd2638c244051499
2022-09-19 11:43:03 -07:00
George Lee
baedb92abf thermal: Fix misalignment from removal of gxp cdev
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
2022-06-30 03:45:46 +00:00
George Lee
9ff57b81b8 logger: Ensure captured log not overwritten
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
2022-06-28 19:39:58 +00:00
Sayanna Chandula
617f8719f5 thermal: remove gxp cooling device dependency
Bug: 236296247
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I336ac5eee16771c59a66776f71b9a4e1b5c76461
2022-06-23 23:11:18 +00:00
George Lee
e194f1eac4 mitigation: Add cdev state monitoring
Add DVFS monitoring to mitigation logging.

Bug: 228383769
Test: Confirm state logging
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I38b75eef1639b4a8959100b37e9064be04a53ede
2022-06-01 17:52:06 +00:00
George Lee
a5fa72f57b bcl: Add Mitigation Logger - Binary
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
2022-05-27 08:40:21 -07:00