HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - Linux
 - >
 - battery management in Linux on pavilion
 
Operating System - Linux
        1840126
        Members
    
    
        5396
        Online
    
    
        110161
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
 - Entry Storage Systems
 - Legacy
 - Midrange and Enterprise Storage
 - Storage Networking
 - HPE Nimble Storage
 
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
 - Appliance Servers
 - Alpha Servers
 - BackOffice Products
 - Internet Products
 - HPE 9000 and HPE e3000 Servers
 - Networking
 - Netservers
 - Secure OS Software for Linux
 - Server Management (Insight Manager 7)
 - Windows Server 2003
 - Operating System - Tru64 Unix
 - ProLiant Deployment and Provisioning
 - Linux-Based Community / Regional
 - Microsoft System Center Integration
 
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
 - Mark Topic as New
 - Mark Topic as Read
 - Float this Topic for Current User
 - Bookmark
 - Subscribe
 - Printer Friendly Page
 
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
10-24-2002 05:02 AM
10-24-2002 05:02 AM
			
				
					
						
							battery management in Linux on pavilion
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						I have a HP Pavilion ze1250 running Suse Linux 8.0.  I have to keep it connected to AC because it runs full throttle and runs the battery down in an hour.  Any ideas on how to manage power consumption better?
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
10-24-2002 07:10 AM
10-24-2002 07:10 AM
			
				
					
						
							Re: battery management in Linux on pavilion
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi
In order to do that you have to modify your APM configuration. Two thing, first recompile a new kernel after changing APM options (under General Setup -> Advance Power Management). And then you can use apm command to suspend/stand-by the computer.
Good luck.
		
		
	
	
	
In order to do that you have to modify your APM configuration. Two thing, first recompile a new kernel after changing APM options (under General Setup -> Advance Power Management). And then you can use apm command to suspend/stand-by the computer.
Good luck.
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
12-19-2002 08:39 PM
12-19-2002 08:39 PM
			
				
					
						
							Re: battery management in Linux on pavilion
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						I have a ze1250 and have solved this.  I hope I can remember all it takes.
First, download the latest kernel source (not from redhat)... this is so that you can apply the acpi patch (from sourceforge-directions included). You will need to print and reference a page (many available under google search) that tells how to compile your own kernel. while in the make xconfig step... disable apm support because you have apm but it doesn't give you any control. If you have both acpi and apm enabled, apm will get recognized first and acpi won't run.
test (as root) to make sure it worked. type cat /proc/acpi/processor/CPU0/throttling
it should show you that you are running hot. (level 0).
Then download fritz's autospeedstep SOURCE (not rpm). It is made for intel speedstep. extract it to a directory and replace autospeedstep.c with the attached file. follow his directions on compiling it. then add to /etc/rc.d/rc.local
the lines:
/usr/local/sbin/autospeedstep
echo "Starting AMD Power Now Throttling!"
on restart you can cat it and it should show 86% reduction. It steps up to full power only when the cpu is under high load (3d games or for a few seconds while starting large programs).
You may find some scripts out there to control things like your power button and such. sleep is not yet supported under acpi. If you want my scripts, I can attach them, but they're nothing spectacular... I'm still looking for better ones myself.
BTW, all this work is well worth it... I get the same battery life under linux that I had with windows xp., my lap is also no longer getting burned up.
Hope this helps.
Essen
		
		
	
	
	
First, download the latest kernel source (not from redhat)... this is so that you can apply the acpi patch (from sourceforge-directions included). You will need to print and reference a page (many available under google search) that tells how to compile your own kernel. while in the make xconfig step... disable apm support because you have apm but it doesn't give you any control. If you have both acpi and apm enabled, apm will get recognized first and acpi won't run.
test (as root) to make sure it worked. type cat /proc/acpi/processor/CPU0/throttling
it should show you that you are running hot. (level 0).
Then download fritz's autospeedstep SOURCE (not rpm). It is made for intel speedstep. extract it to a directory and replace autospeedstep.c with the attached file. follow his directions on compiling it. then add to /etc/rc.d/rc.local
the lines:
/usr/local/sbin/autospeedstep
echo "Starting AMD Power Now Throttling!"
on restart you can cat it and it should show 86% reduction. It steps up to full power only when the cpu is under high load (3d games or for a few seconds while starting large programs).
You may find some scripts out there to control things like your power button and such. sleep is not yet supported under acpi. If you want my scripts, I can attach them, but they're nothing spectacular... I'm still looking for better ones myself.
BTW, all this work is well worth it... I get the same battery life under linux that I had with windows xp., my lap is also no longer getting burned up.
Hope this helps.
Essen
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
02-10-2003 11:14 AM
02-10-2003 11:14 AM
			
				
					
						
							Re: battery management in Linux on pavilion
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						I followed Essen's instructions using Mandrake 9 on a 1210 and they worked perfectly.  Thanks.  I should also add that I compiled the acpi stuff into the kernal rather than kept them as modules.  I don't know which is better... just that it worked for me.  Also, there is a acpi plugin called gkacpi for gkrellm
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP