8439dc9fd569794b1a31f67cf43d9212de33eecc |
|
15-Dec-2014 |
Tim Murray <timmurray@google.com> |
Make vold compile with -Werror -Wall. -Wno-missing-field-initializers is used as well, but that is an overzealous warning from initializing structs with {0} and not a real warning. bug 18736778 and 16868177 Change-Id: Iffde89cd7200d9a11193e1614f1819f9fcace30a
/system/vold/CheckBattery.cpp
|
7e17e2d226783a2e065a194e60c061c255cebaae |
|
09-Sep-2014 |
Paul Lawrence <paullawrence@google.com> |
Don't worry about battery levels when encrypting This is a deliberately minimalistic change. There is another defect to remove all this code - removing some of it will (IMO) simply confuse the issue. Bug: 16868177 Bug: 17180951 Change-Id: I57d7a4fb3a881d62eb73419cd639a6e3ca567f91
/system/vold/CheckBattery.cpp
|
73d7a02dc6e18b4c0a6f29e8f89b432c1b6cc808 |
|
09-Jun-2014 |
Paul Lawrence <paullawrence@google.com> |
On low power turn off rather than rebooting to allow device to charge The code was using encrypted_upto == 0 as an indicator that encryption has succeeded. This meant that if no encryption happened, we would reboot continually. We now set encrypted_upto to fs_size when encryption is complete. Also don't start to encrypt unless we are at 10% power. Stop when we get to 5% power. This should lead to partial encryptions only very rarely. Bug: 15513202 Change-Id: I6214d78579d1fbbe2f63ee8862473d86a89d29b3
/system/vold/CheckBattery.cpp
|
89ec37fcdd304fa25ff778a57452f5c2324e1a61 |
|
13-May-2014 |
Todd Poynor <toddpoynor@google.com> |
Updates for BatteryProperty 64-bit property values Change-Id: I4838d384e14a7c2c0b607c0bd693e9c7bef75fb7
/system/vold/CheckBattery.cpp
|
87999173dd79dbcbd8cb97f5476007e867aaeeba |
|
20-Feb-2014 |
Paul Lawrence <paullawrence@google.com> |
Don't corrupt ssd when encrypting and power fails Stop encryption when battery is low, mark position, and continue on reboot. Note - support for multiple encrypted volumes removed as no devices seem to exist with an fstab that uses this feature. If you want support for such a device, contact me and we will re-add it with appropriate testing. Bug: 13284213 Change-Id: I1f7178e4f7dd8ea816cbc03ab5c4f6543e98acaa
/system/vold/CheckBattery.cpp
|