summaryrefslogtreecommitdiff
path: root/recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/P18-detailed_battery_050309.patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/P18-detailed_battery_050309.patch
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/P18-detailed_battery_050309.patch')
-rw-r--r--recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/P18-detailed_battery_050309.patch102
1 files changed, 102 insertions, 0 deletions
diff --git a/recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/P18-detailed_battery_050309.patch b/recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/P18-detailed_battery_050309.patch
new file mode 100644
index 0000000000..1dd6db199b
--- /dev/null
+++ b/recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/P18-detailed_battery_050309.patch
@@ -0,0 +1,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