summaryrefslogtreecommitdiffstats
path: root/_data/devices/serranodsdd.yml
diff options
context:
space:
mode:
authorMichael W <baddaemon87@gmail.com>2018-01-13 12:08:29 +0100
committerMichael W <baddaemon87@gmail.com>2018-01-17 13:04:21 +0000
commit7794ff4fef286a610c84083a0147414ed43c446c (patch)
treef1506ece38280f61cc7ffb583afa8a4edf93bfc1 /_data/devices/serranodsdd.yml
parent301719b65474b27c3857e3188c509a190ed82cd3 (diff)
downloadlineage_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/serranodsdd.yml')
-rw-r--r--_data/devices/serranodsdd.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/_data/devices/serranodsdd.yml b/_data/devices/serranodsdd.yml
index 5d90df82..8292a3d4 100644
--- a/_data/devices/serranodsdd.yml
+++ b/_data/devices/serranodsdd.yml
@@ -1,5 +1,5 @@
architecture: arm
-battery: Removable Li-Ion 1900 mAh
+battery: {removable: True, capacity: 1900, tech: 'Li-Ion'}
bluetooth: {spec: 4.0 + LE, profiles: [A2DP]}
cameras:
- {flash: 'LED', info: '8 MP, 1080p Full HD Video Recording @ 30fps'}