Commit graph

7 commits

Author SHA1 Message Date
Jack Wu
ad27baa842 dumpstate: fix incorrect maxfg_secondary path
Bug: 299268124
Test: data is correct in dumpstate
Change-Id: Ie304342def837b580b07ebdde9ce042fba897b9b
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-07 20:09:00 +08:00
Jack Wu
464f64dabc init: disable dock-defend in charger mode
Need to meet energy certification test requirement which needs to
be able to charge FULL.

Bug: 298923686
Test: can charge to full on dock in charger mode
Change-Id: Ie7a2acb18e8ebb4e4bed36c759164217d127ae1c
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-05 09:21:15 +08:00
Jack Wu
91dcc11be7 dump_power: add permission for first_usage_date access
Bug: 298628003
Test: write first_usage_date sysfs node successfully
Change-Id: I1ba33c2aba8cf0129357bb83df8a8609684a52c7
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-04 17:19:35 +08:00
Jack Wu
a88d94fb46 dumpstate: fix incorrect dc sysfs node path
also add thermal stats permissions for clearing

Bug: 298628728
Test: can parse pca stats in pixelstats-uevent
Change-Id: Ie6bf430842115cc21167f693f20fd169be19f6d6
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-04 04:31:04 +00:00
Daniel Okazaki
dab8549f10 dump_power: adding BMS changes for static i2c bus
Bug: 296941196
Test: build/flash/adb bugreport
Change-Id: I5e46fa09d6e939f849473a6efbfd6e5bac73d067
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2023-08-28 19:28:10 +00:00
Zheng Pan
05a3dcba0a Update i2c bus sysfs path
Bug: 296941196
Test: make sure i2c bus paths exist and are accessable.
Change-Id: Id5f8d12c35c6c0d41e82776d2d6dff4371e73213
2023-08-25 22:13:03 +00:00
Daniel Okazaki
cddb5f1445 zumapro: adding eeprom print in dump_power
Moving BMS privileges and settings to own file

Bug: 294080767
Test: adb bugreport
Change-Id: I97cdbd252a4fd6996b566276992bfa5e9a5bc0c4
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2023-08-03 22:28:34 +00:00