forked from len0rd/rockbox
xduoox3: Include curves for both battery types
There is no way to detect this at runtime so it is a user setting Change-Id: Ibc5b87312238c59e3678d512af27e3a3bcb9a58a
This commit is contained in:
parent
f4bf27c26e
commit
a52eb1d8cc
49 changed files with 128 additions and 99 deletions
|
@ -3728,7 +3728,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3771,7 +3771,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3788,7 +3788,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3777,7 +3777,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3794,7 +3794,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3768,7 +3768,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3785,7 +3785,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3569,7 +3569,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3586,7 +3586,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3568,7 +3568,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3585,7 +3585,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3780,7 +3780,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3797,7 +3797,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -2993,7 +2993,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3010,7 +3010,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3780,7 +3780,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3797,7 +3797,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3257,7 +3257,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3271,7 +3271,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3561,37 +3561,43 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
battery_types: "Alkaline"
|
battery_types: "Alkaline"
|
||||||
|
xduoox3: "Newer (2000 mAh)"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
battery_types: "Alkaline"
|
battery_types: "Alkaline"
|
||||||
|
xduoox3: "Newer (2000 mAh)"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
battery_types: "Alkaline"
|
battery_types: "Alkaline"
|
||||||
|
xduoox3: "Newer 2000 milliamp hour"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
battery_types: "NiMH"
|
battery_types: "NiMH"
|
||||||
|
xduoox3: "Older (1500 mAh)"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
battery_types: "NiMH"
|
battery_types: "NiMH"
|
||||||
|
xduoox3: "Older (1500 mAh)"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
battery_types: "Nickel metal hydride"
|
battery_types: "Nickel metal hydride"
|
||||||
|
xduoox3: "Older 1500 milliamp hour"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -3640,37 +3640,43 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
battery_types: "Alkaline"
|
battery_types: "Alkaline"
|
||||||
|
xduoox3: "Newer (2000 mAh)"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
battery_types: "Alkaline"
|
battery_types: "Alkaline"
|
||||||
|
xduoox3: "Newer (2000 mAh)"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
battery_types: "Alkaline"
|
battery_types: "Alkaline"
|
||||||
|
xduoox3: "Newer 2000 milliamp hour"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
*: none
|
*: none
|
||||||
battery_types: "NiMH"
|
battery_types: "NiMH"
|
||||||
|
xduoox3: "Older (1500 mAh)"
|
||||||
</source>
|
</source>
|
||||||
<dest>
|
<dest>
|
||||||
*: none
|
*: none
|
||||||
battery_types: "NiMH"
|
battery_types: "NiMH"
|
||||||
|
xduoox3: "Older (1500 mAh)"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: none
|
*: none
|
||||||
battery_types: "Nickel metal hydride"
|
battery_types: "Nickel metal hydride"
|
||||||
|
xduoox3: "Older 1500 milliamp hour"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -2237,7 +2237,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -2254,7 +2254,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3499,7 +3499,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3513,7 +3513,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3568,7 +3568,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3585,7 +3585,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3622,7 +3622,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3639,7 +3639,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -2214,7 +2214,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -2231,7 +2231,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3763,7 +3763,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3780,7 +3780,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3779,7 +3779,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3796,7 +3796,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3770,7 +3770,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3787,7 +3787,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -2548,7 +2548,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -2565,7 +2565,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3563,7 +3563,7 @@ desc: deprecated
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3580,7 +3580,7 @@ desc: deprecated
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3779,7 +3779,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3796,7 +3796,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3579,7 +3579,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3596,7 +3596,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3773,7 +3773,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3790,7 +3790,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3837,7 +3837,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3854,7 +3854,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3749,7 +3749,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3766,7 +3766,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3580,7 +3580,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3597,7 +3597,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3515,7 +3515,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3532,7 +3532,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -2998,7 +2998,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3015,7 +3015,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3570,7 +3570,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3587,7 +3587,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3772,7 +3772,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3789,7 +3789,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3357,7 +3357,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3374,7 +3374,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -2890,7 +2890,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -6298,7 +6298,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3393,7 +3393,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3410,7 +3410,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3562,7 +3562,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3579,7 +3579,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3335,7 +3335,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -7200,7 +7200,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3759,7 +3759,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3776,7 +3776,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3779,7 +3779,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3796,7 +3796,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3755,7 +3755,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3772,7 +3772,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3739,7 +3739,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3756,7 +3756,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -10262,7 +10262,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -13368,7 +13368,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3771,7 +3771,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3788,7 +3788,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3576,7 +3576,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3593,7 +3593,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -3776,7 +3776,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_ALKALINE
|
id: LANG_BATTERY_TYPE_1
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
@ -3793,7 +3793,7 @@
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
id: LANG_BATTERY_TYPE_NIMH
|
id: LANG_BATTERY_TYPE_2
|
||||||
desc: in battery settings
|
desc: in battery settings
|
||||||
user: core
|
user: core
|
||||||
<source>
|
<source>
|
||||||
|
|
|
@ -1050,8 +1050,12 @@ const struct settings_list settings[] = {
|
||||||
|
|
||||||
#if BATTERY_TYPES_COUNT > 1
|
#if BATTERY_TYPES_COUNT > 1
|
||||||
CHOICE_SETTING(0, battery_type, LANG_BATTERY_TYPE, 0, "battery type",
|
CHOICE_SETTING(0, battery_type, LANG_BATTERY_TYPE, 0, "battery type",
|
||||||
"alkaline,nimh", NULL, 2, ID2P(LANG_BATTERY_TYPE_ALKALINE),
|
#ifdef XDUOO_X3
|
||||||
ID2P(LANG_BATTERY_TYPE_NIMH)),
|
"new_2000mAh,old_1500mAh",
|
||||||
|
#else
|
||||||
|
"alkaline,nimh",
|
||||||
|
#endif
|
||||||
|
NULL, 2, ID2P(LANG_BATTERY_TYPE_1), ID2P(LANG_BATTERY_TYPE_2)),
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_REMOTE_LCD
|
#ifdef HAVE_REMOTE_LCD
|
||||||
/* remote lcd */
|
/* remote lcd */
|
||||||
|
|
|
@ -114,7 +114,7 @@
|
||||||
#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
|
#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
|
||||||
#define BATTERY_CAPACITY_MAX 2000 /* max. capacity selectable */
|
#define BATTERY_CAPACITY_MAX 2000 /* max. capacity selectable */
|
||||||
#define BATTERY_CAPACITY_INC 100 /* capacity increment */
|
#define BATTERY_CAPACITY_INC 100 /* capacity increment */
|
||||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
#define BATTERY_TYPES_COUNT 2 /* Two types (2000mAh and 1500mAh) */
|
||||||
|
|
||||||
#define CURRENT_NORMAL 167 // 2.78mA * 60s
|
#define CURRENT_NORMAL 167 // 2.78mA * 60s
|
||||||
#define CURRENT_BACKLIGHT 180 // 15mA * 60s
|
#define CURRENT_BACKLIGHT 180 // 15mA * 60s
|
||||||
|
|
|
@ -148,29 +148,39 @@ void KEY_INT_IRQ(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Notes on batteries
|
||||||
|
|
||||||
|
xDuoo shipped two types of batteries:
|
||||||
|
|
||||||
|
First is the 2000mAh battery shipped in newer units
|
||||||
|
Second is the 1500mAh battery shipped in older units
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] =
|
const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] =
|
||||||
{
|
{
|
||||||
/* 5% */
|
/* 5% */
|
||||||
3414
|
3414, 3634
|
||||||
};
|
};
|
||||||
|
|
||||||
const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
|
const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
|
||||||
{
|
{
|
||||||
/* 0% */
|
/* 0% */
|
||||||
3307
|
3307, 3307
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */
|
/* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */
|
||||||
const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
|
const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
|
||||||
{
|
{
|
||||||
{ 3307, 3459, 3530, 3575, 3608, 3648, 3723, 3819, 3918, 4022, 4162 }
|
{ 3307, 3459, 3530, 3575, 3608, 3648, 3723, 3819, 3918, 4022, 4162 },
|
||||||
|
{ 3300, 3652, 3704, 3730, 3753, 3786, 3836, 3906, 3973, 4061, 4160 }
|
||||||
};
|
};
|
||||||
|
|
||||||
#if CONFIG_CHARGING
|
#if CONFIG_CHARGING
|
||||||
/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
|
/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
|
||||||
const unsigned short percent_to_volt_charge[11] =
|
const unsigned short percent_to_volt_charge[11] =
|
||||||
{ 3307, 3459, 3530, 3575, 3608, 3648, 3723, 3819, 3918, 4022, 4162 };
|
// { 3300, 3652, 3704, 3730, 3753, 3786, 3836, 3906, 3973, 4061, 4160 };
|
||||||
|
{ 3444, 3827, 3893, 3909, 3931, 4001, 4067, 4150, 4206, 4207, 4208 };
|
||||||
#endif /* CONFIG_CHARGING */
|
#endif /* CONFIG_CHARGING */
|
||||||
|
|
||||||
/* VBAT = (BDATA/1024) * 2.5V */
|
/* VBAT = (BDATA/1024) * 2.5V */
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
\opt{mrobe100}{720~mAh}%
|
\opt{mrobe100}{720~mAh}%
|
||||||
\opt{samsungyh920,samsungyh925}{900~mAh}%
|
\opt{samsungyh920,samsungyh925}{900~mAh}%
|
||||||
\opt{samsungyh820}{650~mAh}%
|
\opt{samsungyh820}{650~mAh}%
|
||||||
|
\opt{xduoox3}{2000~mAh}%
|
||||||
, which is the capacity value for the standard battery shipped with the \dap.
|
, which is the capacity value for the standard battery shipped with the \dap.
|
||||||
Rockbox uses this value for runtime estimation, not battery percentage
|
Rockbox uses this value for runtime estimation, not battery percentage
|
||||||
calculation. Changing this setting has no effect whatsoever on
|
calculation. Changing this setting has no effect whatsoever on
|
||||||
|
@ -44,8 +45,10 @@
|
||||||
|
|
||||||
\opt{battery_types}{
|
\opt{battery_types}{
|
||||||
\item [Battery Type.] This setting tells Rockbox which type of battery
|
\item [Battery Type.] This setting tells Rockbox which type of battery
|
||||||
is currently used in the \dap{}. The two supported battery types are
|
is currently used in the \dap{}.
|
||||||
``Alkaline'' or ``NiMH''.}
|
\nopt{xduoox3}{The two supported battery types are ``Alkaline'' or ``NiMH''.}
|
||||||
|
\opt{xduoox3}{Older \playerman{} \playertype{} units shipped with a 1500mAh battery, while newer units ships with a 2000mAh battery. If you are not sure which type you have, older units have a button marked ``ESC''.}
|
||||||
|
}
|
||||||
|
|
||||||
\opt{usb_charging_enable}{
|
\opt{usb_charging_enable}{
|
||||||
\item [Charge During USB Connection.] This option lets you control whether
|
\item [Charge During USB Connection.] This option lets you control whether
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue