forked from len0rd/rockbox
AMS: power off while charging enabled
Change-Id: Icddf1ea0a03f0426e0cf9b99f05ea065f532fed5
This commit is contained in:
parent
98c15fe85d
commit
e4e0b18daa
9 changed files with 17 additions and 10 deletions
|
|
@ -154,8 +154,7 @@
|
||||||
#define CONFIG_I2C I2C_AS3525
|
#define CONFIG_I2C I2C_AS3525
|
||||||
|
|
||||||
/* define this if the hardware can be powered off while charging */
|
/* define this if the hardware can be powered off while charging */
|
||||||
/* Sansa can't be powered off while charging */
|
#define HAVE_POWEROFF_WHILE_CHARGING
|
||||||
/* #define HAVE_POWEROFF_WHILE_CHARGING */
|
|
||||||
|
|
||||||
#define CURRENT_NORMAL 50
|
#define CURRENT_NORMAL 50
|
||||||
#define CURRENT_BACKLIGHT 25
|
#define CURRENT_BACKLIGHT 25
|
||||||
|
|
|
||||||
|
|
@ -157,8 +157,7 @@
|
||||||
#define CONFIG_I2C I2C_AS3525
|
#define CONFIG_I2C I2C_AS3525
|
||||||
|
|
||||||
/* define this if the hardware can be powered off while charging */
|
/* define this if the hardware can be powered off while charging */
|
||||||
/* Sansa can't be powered off while charging */
|
#define HAVE_POWEROFF_WHILE_CHARGING
|
||||||
/* #define HAVE_POWEROFF_WHILE_CHARGING */
|
|
||||||
|
|
||||||
/* define current usage levels (based on battery bench) */
|
/* define current usage levels (based on battery bench) */
|
||||||
#define CURRENT_NORMAL 37
|
#define CURRENT_NORMAL 37
|
||||||
|
|
|
||||||
|
|
@ -166,8 +166,7 @@
|
||||||
#define CONFIG_I2C I2C_AS3525
|
#define CONFIG_I2C I2C_AS3525
|
||||||
|
|
||||||
/* define this if the hardware can be powered off while charging */
|
/* define this if the hardware can be powered off while charging */
|
||||||
/* Sansa can't be powered off while charging */
|
#define HAVE_POWEROFF_WHILE_CHARGING
|
||||||
/* #define HAVE_POWEROFF_WHILE_CHARGING */
|
|
||||||
|
|
||||||
/* define current usage levels (based on battery bench) */
|
/* define current usage levels (based on battery bench) */
|
||||||
#define CURRENT_NORMAL 19
|
#define CURRENT_NORMAL 19
|
||||||
|
|
|
||||||
|
|
@ -162,8 +162,7 @@
|
||||||
#define CONFIG_I2C I2C_AS3525
|
#define CONFIG_I2C I2C_AS3525
|
||||||
|
|
||||||
/* define this if the hardware can be powered off while charging */
|
/* define this if the hardware can be powered off while charging */
|
||||||
/* Sansa can't be powered off while charging */
|
#define HAVE_POWEROFF_WHILE_CHARGING
|
||||||
/* #define HAVE_POWEROFF_WHILE_CHARGING */
|
|
||||||
|
|
||||||
/* define current usage levels (based on battery bench) */
|
/* define current usage levels (based on battery bench) */
|
||||||
#define CURRENT_NORMAL 24
|
#define CURRENT_NORMAL 24
|
||||||
|
|
|
||||||
|
|
@ -165,8 +165,7 @@
|
||||||
#define CONFIG_I2C I2C_AS3525
|
#define CONFIG_I2C I2C_AS3525
|
||||||
|
|
||||||
/* define this if the hardware can be powered off while charging */
|
/* define this if the hardware can be powered off while charging */
|
||||||
/* Sansa can't be powered off while charging */
|
#define HAVE_POWEROFF_WHILE_CHARGING
|
||||||
/* #define HAVE_POWEROFF_WHILE_CHARGING */
|
|
||||||
|
|
||||||
/* define current usage levels (based on battery bench) */
|
/* define current usage levels (based on battery bench) */
|
||||||
#define CURRENT_NORMAL 19 /* TODO copied from clipplus */
|
#define CURRENT_NORMAL 19 /* TODO copied from clipplus */
|
||||||
|
|
|
||||||
|
|
@ -167,6 +167,9 @@
|
||||||
/* Define this if you want to use the AS2525 i2c interface */
|
/* Define this if you want to use the AS2525 i2c interface */
|
||||||
#define CONFIG_I2C I2C_AS3525
|
#define CONFIG_I2C I2C_AS3525
|
||||||
|
|
||||||
|
/* define this if the hardware can be powered off while charging */
|
||||||
|
#define HAVE_POWEROFF_WHILE_CHARGING
|
||||||
|
|
||||||
/* define current usage levels (based on battery bench) */
|
/* define current usage levels (based on battery bench) */
|
||||||
#define CURRENT_NORMAL 44
|
#define CURRENT_NORMAL 44
|
||||||
#define CURRENT_BACKLIGHT 30
|
#define CURRENT_BACKLIGHT 30
|
||||||
|
|
|
||||||
|
|
@ -171,6 +171,9 @@
|
||||||
/* Define this if you want to use the AS2525 i2c interface */
|
/* Define this if you want to use the AS2525 i2c interface */
|
||||||
#define CONFIG_I2C I2C_AS3525
|
#define CONFIG_I2C I2C_AS3525
|
||||||
|
|
||||||
|
/* define this if the hardware can be powered off while charging */
|
||||||
|
#define HAVE_POWEROFF_WHILE_CHARGING
|
||||||
|
|
||||||
/* define current usage levels (based on battery bench) */
|
/* define current usage levels (based on battery bench) */
|
||||||
#define CURRENT_NORMAL 35
|
#define CURRENT_NORMAL 35
|
||||||
#define CURRENT_BACKLIGHT 30
|
#define CURRENT_BACKLIGHT 30
|
||||||
|
|
|
||||||
|
|
@ -160,6 +160,9 @@
|
||||||
/* Define this if you want to use the IMX233 i2c interface */
|
/* Define this if you want to use the IMX233 i2c interface */
|
||||||
#define CONFIG_I2C I2C_IMX233
|
#define CONFIG_I2C I2C_IMX233
|
||||||
|
|
||||||
|
/* define this if the hardware can be powered off while charging */
|
||||||
|
#define HAVE_POWEROFF_WHILE_CHARGING
|
||||||
|
|
||||||
/* define current usage levels (based on battery bench) */
|
/* define current usage levels (based on battery bench) */
|
||||||
#define CURRENT_NORMAL 35
|
#define CURRENT_NORMAL 35
|
||||||
#define CURRENT_BACKLIGHT 30
|
#define CURRENT_BACKLIGHT 30
|
||||||
|
|
|
||||||
|
|
@ -173,6 +173,9 @@
|
||||||
/* Define this if you want to use the AS2525 i2c interface */
|
/* Define this if you want to use the AS2525 i2c interface */
|
||||||
#define CONFIG_I2C I2C_AS3525
|
#define CONFIG_I2C I2C_AS3525
|
||||||
|
|
||||||
|
/* define this if the hardware can be powered off while charging */
|
||||||
|
#define HAVE_POWEROFF_WHILE_CHARGING
|
||||||
|
|
||||||
/* define current usage levels (based on battery bench) */
|
/* define current usage levels (based on battery bench) */
|
||||||
#define CURRENT_NORMAL 26
|
#define CURRENT_NORMAL 26
|
||||||
#define CURRENT_BACKLIGHT 30
|
#define CURRENT_BACKLIGHT 30
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue