ipod6g: increase max battery capacity

It's possible to get up to 3000mAh batteries for this device, although
it requires that you use an iFlash adapter to make enough space.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
Change-Id: I0d0d02aa30caffcae4a7e8c805516a1266eef359
This commit is contained in:
Caleb Connolly 2021-03-11 21:10:31 +00:00
parent 043e8a0c5c
commit 04c29984ce
No known key found for this signature in database
GPG key ID: 0583312B195F64B6
2 changed files with 7 additions and 2 deletions

View file

@ -702,6 +702,7 @@ Issa Beganović
Georg Gadinger
Wolfram Sang
Aidan MacDonald
Caleb Connolly
The libmad team
The wavpack team

View file

@ -139,10 +139,14 @@
/* The number of bytes reserved for loadable plugins */
#define PLUGIN_BUFFER_SIZE 0x80000
/* 6g has a standard battery of 550mAh, except for the thick 6g (2007 160gb) which has a standard battery of 850mAh */
/* 6g has a standard battery of 550mAh, except for the thick 6g (2007 160gb)
* which has a standard battery of 850mAh.
*
* It's possible to buy 3rd party batteries up to 3000mAh.
*/
#define BATTERY_CAPACITY_DEFAULT 550 /* default battery capacity */
#define BATTERY_CAPACITY_MIN 300 /* min. capacity selectable */
#define BATTERY_CAPACITY_MAX 1000 /* max. capacity selectable */
#define BATTERY_CAPACITY_MAX 3000 /* max. capacity selectable */
#define BATTERY_CAPACITY_INC 10 /* capacity increment */
#define BATTERY_TYPES_COUNT 1 /* only one type */