LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 08-16-2010, 07:28 AM   #1
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Rep: Reputation: 47
Shutdown when Heavy Processing


I have a Sony Vaio VGN-SZ440 running Slackware 13.1 x86 kernel 2.6.33.4-smp. The laptop does real good most of the time, but when I do anything that requires heavy processing, such as compiling a package, the laptop will shut down. I have acpi enabled, does anyone have any suggestions?
 
Old 08-16-2010, 07:30 AM   #2
gasdim
Member
 
Registered: Jun 2010
Location: Volos GREECE
Distribution: ubuntu derivative
Posts: 157

Rep: Reputation: 28
Maybe in bios settings when it overheats is selected to shutdown in order to save it from damage. Check this first
 
Old 08-16-2010, 09:08 AM   #3
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Original Poster
Rep: Reputation: 47
I can't find a setting in my bios actually. I am wondering if I am having some batter issues. Take a look at this:

Code:
bash-4.1$ cat /proc/acpi/battery/BAT1/state 
present:                 yes
capacity state:          ok
charging state:          charging
present rate:            3692 mW
remaining capacity:      8050 mWh
present voltage:         12558 mV
bash-4.1$ cat /proc/acpi/battery/BAT1/info  
present:                 yes
design capacity:         73260 mWh
last full capacity:      26930 mWh
battery technology:      non-rechargeable
design voltage:          11100 mV
design capacity warning: 0 mWh
design capacity low:     120 mWh
capacity granularity 1:  0 mWh
capacity granularity 2:  10 mWh
model number:            
serial number:           
battery type:            LION
OEM info:                Sony Corp.
Doesn't it seem strange that the 'last full capacity' is way lower than the design capacity? I assume these should be close to each other. Does anything else look strange, I am not too familiar with acpi. The person I bought the laptop from swears the battery worked fine with Windows Vista, but I don't know for sure, I just wanted to do some investigating before I buy a new batter.
 
Old 08-16-2010, 10:59 AM   #4
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Original Poster
Rep: Reputation: 47
Check this out from lshal | grep battery:

Code:
udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT1'
  battery.charge_level.current = 26900  (0x6914)  (int)
  battery.charge_level.design = 73260  (0x11e2c)  (int)
  battery.charge_level.last_full = 26930  (0x6932)  (int)
  battery.charge_level.percentage = 99  (0x63)  (int)
  battery.charge_level.rate = 0  (0x0)  (int)
  battery.is_rechargeable = true  (bool)
  battery.model = ''  (string)
  battery.present = true  (bool)
  battery.rechargeable.is_charging = false  (bool)
  battery.rechargeable.is_discharging = false  (bool)
  battery.reporting.current = 26900  (0x6914)  (int)
  battery.reporting.design = 73260  (0x11e2c)  (int)
  battery.reporting.last_full = 26930  (0x6932)  (int)
  battery.reporting.rate = 0  (0x0)  (int)
  battery.reporting.technology = 'Li-ion'  (string)
  battery.reporting.unit = 'mWh'  (string)
  battery.serial = ''  (string)
  battery.technology = 'lithium-ion'  (string)
  battery.type = 'primary'  (string)
  battery.vendor = 'Sony Corp.'  (string)
  battery.voltage.current = 12460  (0x30ac)  (int)
  battery.voltage.design = 11100  (0x2b5c)  (int)
  battery.voltage.unit = 'mV'  (string)
  info.capabilities = {'battery'} (string list)
  info.category = 'battery'  (string)
  info.udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT1'  (string)
Look at these two lines:

battery.charge_level.current = 26900 (0x6914) (int)
battery.charge_level.design = 73260 (0x11e2c) (int)

Current says 26900 and design says 73260, my battery icon says 100% full, shouldn't 100% be close to 73260?

And this:

battery.is_rechargeable = true (bool)

even though /proc/acpi/battery/BAT1/info says the battery is 'non-rechargeable'. It sounds like something is messed up with acpi. Does anyone have any suggestions?
 
Old 08-17-2010, 10:29 AM   #5
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Original Poster
Rep: Reputation: 47
I am thinking I just have a bad battery and the person that sold it to me lied :-(. I am now dual booting with fedora and I get the message that my battery has a low capacity, yet is fully charged and is probably broken!
 
Old 08-17-2010, 12:23 PM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
The reporting of battery type, charge-level and assorted temperatures rely on a functioning ACPI for your hardware.

If this is "broken" for your laptop and version of linux, then invalid results may be reported, and therefore inappropriate actions being taken.
Eg: The temp is "too high" (when, in reality, it isn't) prompts a premature shutdown, or the battery "too low", and another shutdown.

Try some linux searches on acpi and your laptop model.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Best mice for heavy PC users? halfpower General 20 04-05-2010 03:49 PM
Greetings from a new member, but heavy user !! reards LinuxQuestions.org Member Intro 1 05-18-2009 04:18 PM
Heavy virtualiation intuvati Linux - Desktop 7 07-24-2008 06:00 AM
Laptop Power shutdown under heavy processor use, Slack 11.0 Kernel 2.6.18 thethinker Slackware 14 06-19-2007 11:40 AM
Heavy Gear II (windows cd) trey85stang Linux - Games 2 02-04-2004 09:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration