summaryrefslogtreecommitdiffstats
path: root/_data/devices/oneplus3.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/oneplus3.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/oneplus3.yml')
-rw-r--r--_data/devices/oneplus3.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/_data/devices/oneplus3.yml b/_data/devices/oneplus3.yml
index abc038fc..a9e5c022 100644
--- a/_data/devices/oneplus3.yml
+++ b/_data/devices/oneplus3.yml
@@ -1,5 +1,7 @@
architecture: arm64
-battery: Non-removable Li-Ion 3000 mAh (3) / 3400 mA (3T)
+battery:
+- 3: {removable: False, capacity: 3000, tech: 'Li-Ion'}
+- 3T: {removable: False, capacity: 3400, tech: 'Li-Ion'}
bluetooth: {spec: '4.2', profiles: [A2DP]}
cameras:
- {flash: 'LED', info: '16 MP'}