Make lifetime property read/write

This commit makes the property PredictedMediaLifeLeftPercent
read-writable. This property is exposed through Redfish, so by making
this property read-writable, we can better test other things that
consume this property through Redfish.

Tested:
```
$ busctl get-property xyz.openbmc_project.eStoraged \
  /xyz/openbmc_project/inventory/storage/mmcblk0 \
  xyz.openbmc_project.Inventory.Item.Drive PredictedMediaLifeLeftPercent
  y 100
$ busctl set-property xyz.openbmc_project.eStoraged \
  /xyz/openbmc_project/inventory/storage/mmcblk0 \
  xyz.openbmc_project.Inventory.Item.Drive PredictedMediaLifeLeftPercent y 90
$ curl localhost:80/redfish/v1/Chassis/dcscm/Drives/mmcblk0
  {
    ...
    "PredictedMediaLifeLeftPercent": 90,
    ...
  }
```

Change-Id: I93bde64e76ee45640f85b00222df6e4a8a98ff4c
Signed-off-by: John Wedig <johnwedig@google.com>
1 file changed
tree: f7f6c501e6b10211c66dfdb763c43c88e4c25cd9
  1. include/
  2. service_files/
  3. src/
  4. subprojects/
  5. .clang-format
  6. .clang-tidy
  7. .gitignore
  8. LICENSE
  9. meson.build
  10. meson.options
  11. OWNERS
  12. README.md
README.md

eStoraged

This daemon serves as an abstraction for an encrypted storage device, encapsulating the security functionality and providing a D-Bus interface to manage the encrypted filesystem on the device. Using the D-Bus interface, other software components can interact with eStoraged to do things like create a new encrypted filesystem, wipe its contents, lock/unlock the device, or change the password.