1
0
Fork 0
forked from len0rd/rockbox

AMS: power off while charging enabled

Change-Id: Icddf1ea0a03f0426e0cf9b99f05ea065f532fed5
This commit is contained in:
Mihail Zenkov 2016-04-07 02:35:58 +00:00
parent 98c15fe85d
commit e4e0b18daa
9 changed files with 17 additions and 10 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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 */

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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