blob: 0fe3092c305f799cd97bc9fcfa90cd48ca68fdb3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/*
* based on work from:
* Chad Froebel <chadfroebel@gmail.com> &
* Jean-Pierre Rasquin <yank555.lu@gmail.com>
* for backwards compatibility
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#ifndef _LINUX_FASTCHG_H
#define _LINUX_FASTCHG_H
extern int force_fast_charge;
extern int fast_charge_level;
#define FAST_CHARGE_DISABLED 0 /* default */
#define FAST_CHARGE_FORCE_AC 1
#define FAST_CHARGE_FORCE_CUSTOM_MA 2
#define FAST_CHARGE_500 500
#define FAST_CHARGE_700 700
#define FAST_CHARGE_900 900
#define FAST_CHARGE_1100 1100
#define FAST_CHARGE_1300 1300
#define FAST_CHARGE_1500 1500
#define FAST_CHARGE_LEVELS "500 700 900 1100 1300 1500"
#endif
|