diff options
author | Michael W <baddaemon87@gmail.com> | 2018-01-13 12:08:29 +0100 |
---|---|---|
committer | Michael W <baddaemon87@gmail.com> | 2018-01-17 13:04:21 +0000 |
commit | 7794ff4fef286a610c84083a0147414ed43c446c (patch) | |
tree | f1506ece38280f61cc7ffb583afa8a4edf93bfc1 /_data/devices/nx512j.yml | |
parent | 301719b65474b27c3857e3188c509a190ed82cd3 (diff) | |
download | lineage_wiki-7794ff4fef286a610c84083a0147414ed43c446c.tar.gz lineage_wiki-7794ff4fef286a610c84083a0147414ed43c446c.tar.bz2 lineage_wiki-7794ff4fef286a610c84083a0147414ed43c446c.zip |
wiki: Validate battery
* Add a definition for battery data: removable (True/False),
capacity [mAh], tech (Li-Ion / Li-Po), fastcharge (True/False)
* Require removable and capacity
* Allow either an array of "model: data" or just "data"
(valid for all models / just one model in the yml) or "None" (devices
without battery)
* Make battery field required
Change-Id: Iac4ecd9b6bcb027a631600d3646f9e05de5102a8
Diffstat (limited to '_data/devices/nx512j.yml')
-rw-r--r-- | _data/devices/nx512j.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_data/devices/nx512j.yml b/_data/devices/nx512j.yml index c0ab3135..90f21e38 100644 --- a/_data/devices/nx512j.yml +++ b/_data/devices/nx512j.yml @@ -1,5 +1,5 @@ architecture: arm64 -battery: Non-removable Li-Ion 2900 mAh +battery: {removable: False, capacity: 2900, tech: 'Li-Ion'} bluetooth: {spec: '4.0'} cameras: - {flash: 'LED', info: '15.9 MP'} |