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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
diff -Nur c3000_pre/linux/arch/arm/mach-pxa/sharpsl_battery.c c3000_work/linux/arch/arm/mach-pxa/sharpsl_battery.c
--- c3000_pre/linux/arch/arm/mach-pxa/sharpsl_battery.c 2004-11-16 15:31:06.000000000 +0900
+++ c3000_work/linux/arch/arm/mach-pxa/sharpsl_battery.c 2005-03-08 23:05:29.000000000 +0900
@@ -337,20 +337,88 @@
#if defined(CONFIG_ARCH_PXA_SPITZ)
BATTERY_THRESH sharpsl_main_battery_thresh_temp_h[] = {
- { 194, 100, SHARPSL_BATTERY_STATUS_HIGH},
- { 188, 75, SHARPSL_BATTERY_STATUS_HIGH},
- { 184, 50, SHARPSL_BATTERY_STATUS_HIGH},
- { 180, 25, SHARPSL_BATTERY_STATUS_LOW},
- { 176, 5, SHARPSL_BATTERY_STATUS_VERYLOW},
+ { 212, 100, SHARPSL_BATTERY_STATUS_HIGH},
+ { 212, 98, SHARPSL_BATTERY_STATUS_HIGH},
+ { 211, 95, SHARPSL_BATTERY_STATUS_HIGH},
+ { 210, 93, SHARPSL_BATTERY_STATUS_HIGH},
+ { 209, 90, SHARPSL_BATTERY_STATUS_HIGH},
+ { 208, 88, SHARPSL_BATTERY_STATUS_HIGH},
+ { 207, 85, SHARPSL_BATTERY_STATUS_HIGH},
+ { 206, 83, SHARPSL_BATTERY_STATUS_HIGH},
+ { 205, 80, SHARPSL_BATTERY_STATUS_HIGH},
+ { 204, 78, SHARPSL_BATTERY_STATUS_HIGH},
+ { 203, 75, SHARPSL_BATTERY_STATUS_HIGH},
+ { 202, 73, SHARPSL_BATTERY_STATUS_HIGH},
+ { 201, 70, SHARPSL_BATTERY_STATUS_HIGH},
+ { 200, 68, SHARPSL_BATTERY_STATUS_HIGH},
+ { 199, 65, SHARPSL_BATTERY_STATUS_HIGH},
+ { 198, 63, SHARPSL_BATTERY_STATUS_HIGH},
+ { 197, 60, SHARPSL_BATTERY_STATUS_HIGH},
+ { 196, 58, SHARPSL_BATTERY_STATUS_HIGH},
+ { 195, 55, SHARPSL_BATTERY_STATUS_HIGH},
+ { 194, 53, SHARPSL_BATTERY_STATUS_HIGH},
+ { 193, 50, SHARPSL_BATTERY_STATUS_HIGH},
+ { 192, 48, SHARPSL_BATTERY_STATUS_HIGH},
+ { 192, 45, SHARPSL_BATTERY_STATUS_HIGH},
+ { 191, 43, SHARPSL_BATTERY_STATUS_HIGH},
+ { 191, 40, SHARPSL_BATTERY_STATUS_HIGH},
+ { 190, 38, SHARPSL_BATTERY_STATUS_HIGH},
+ { 190, 35, SHARPSL_BATTERY_STATUS_HIGH},
+ { 189, 33, SHARPSL_BATTERY_STATUS_HIGH},
+ { 188, 30, SHARPSL_BATTERY_STATUS_HIGH},
+ { 187, 28, SHARPSL_BATTERY_STATUS_LOW},
+ { 186, 25, SHARPSL_BATTERY_STATUS_LOW},
+ { 185, 23, SHARPSL_BATTERY_STATUS_LOW},
+ { 184, 20, SHARPSL_BATTERY_STATUS_LOW},
+ { 183, 18, SHARPSL_BATTERY_STATUS_LOW},
+ { 182, 15, SHARPSL_BATTERY_STATUS_LOW},
+ { 181, 13, SHARPSL_BATTERY_STATUS_LOW},
+ { 180, 10, SHARPSL_BATTERY_STATUS_LOW},
+ { 179, 8, SHARPSL_BATTERY_STATUS_LOW},
+ { 178, 5, SHARPSL_BATTERY_STATUS_VERYLOW},
{ 0, 0, SHARPSL_BATTERY_STATUS_CRITICAL},
};
BATTERY_THRESH sharpsl_main_battery_thresh_temp_l[] = {
- { 194, 100, SHARPSL_BATTERY_STATUS_HIGH},
- { 188, 75, SHARPSL_BATTERY_STATUS_HIGH},
- { 184, 50, SHARPSL_BATTERY_STATUS_HIGH},
- { 180, 25, SHARPSL_BATTERY_STATUS_LOW},
- { 176, 5, SHARPSL_BATTERY_STATUS_VERYLOW},
+ { 212, 100, SHARPSL_BATTERY_STATUS_HIGH},
+ { 212, 98, SHARPSL_BATTERY_STATUS_HIGH},
+ { 211, 95, SHARPSL_BATTERY_STATUS_HIGH},
+ { 210, 93, SHARPSL_BATTERY_STATUS_HIGH},
+ { 209, 90, SHARPSL_BATTERY_STATUS_HIGH},
+ { 208, 88, SHARPSL_BATTERY_STATUS_HIGH},
+ { 207, 85, SHARPSL_BATTERY_STATUS_HIGH},
+ { 206, 83, SHARPSL_BATTERY_STATUS_HIGH},
+ { 205, 80, SHARPSL_BATTERY_STATUS_HIGH},
+ { 204, 78, SHARPSL_BATTERY_STATUS_HIGH},
+ { 203, 75, SHARPSL_BATTERY_STATUS_HIGH},
+ { 202, 73, SHARPSL_BATTERY_STATUS_HIGH},
+ { 201, 70, SHARPSL_BATTERY_STATUS_HIGH},
+ { 200, 68, SHARPSL_BATTERY_STATUS_HIGH},
+ { 199, 65, SHARPSL_BATTERY_STATUS_HIGH},
+ { 198, 63, SHARPSL_BATTERY_STATUS_HIGH},
+ { 197, 60, SHARPSL_BATTERY_STATUS_HIGH},
+ { 196, 58, SHARPSL_BATTERY_STATUS_HIGH},
+ { 195, 55, SHARPSL_BATTERY_STATUS_HIGH},
+ { 194, 53, SHARPSL_BATTERY_STATUS_HIGH},
+ { 193, 50, SHARPSL_BATTERY_STATUS_HIGH},
+ { 192, 48, SHARPSL_BATTERY_STATUS_HIGH},
+ { 191, 45, SHARPSL_BATTERY_STATUS_HIGH},
+ { 190, 43, SHARPSL_BATTERY_STATUS_HIGH},
+ { 189, 40, SHARPSL_BATTERY_STATUS_HIGH},
+ { 188, 38, SHARPSL_BATTERY_STATUS_HIGH},
+ { 187, 35, SHARPSL_BATTERY_STATUS_HIGH},
+ { 186, 33, SHARPSL_BATTERY_STATUS_HIGH},
+ { 185, 30, SHARPSL_BATTERY_STATUS_HIGH},
+ { 184, 28, SHARPSL_BATTERY_STATUS_LOW},
+ { 183, 25, SHARPSL_BATTERY_STATUS_LOW},
+ { 182, 23, SHARPSL_BATTERY_STATUS_LOW},
+ { 181, 20, SHARPSL_BATTERY_STATUS_LOW},
+ { 180, 18, SHARPSL_BATTERY_STATUS_LOW},
+ { 179, 15, SHARPSL_BATTERY_STATUS_LOW},
+ { 178, 13, SHARPSL_BATTERY_STATUS_LOW},
+ { 177, 10, SHARPSL_BATTERY_STATUS_LOW},
+ { 176, 8, SHARPSL_BATTERY_STATUS_LOW},
+ { 175, 5, SHARPSL_BATTERY_STATUS_VERYLOW},
{ 0, 0, SHARPSL_BATTERY_STATUS_CRITICAL},
};
#else
|