summaryrefslogtreecommitdiffstats
path: root/_data/devices/suzuran.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/suzuran.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/suzuran.yml')
-rw-r--r--_data/devices/suzuran.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/_data/devices/suzuran.yml b/_data/devices/suzuran.yml
index 1a0774ab..32619533 100644
--- a/_data/devices/suzuran.yml
+++ b/_data/devices/suzuran.yml
@@ -1,5 +1,5 @@
architecture: arm64
-battery: Non-removable Li-Ion 2700 mAh
+battery: {removable: False, capacity: 2700, tech: 'Li-Ion'}
bluetooth: {spec: '4.1', profiles: [A2DP + aptX]}
cameras:
- {flash: 'LED', info: '23 MP f/2.0'}