| View previous topic :: View next topic |
| Author |
Message |
oneself Tux's lil' helper

Joined: 02 Jul 2005 Posts: 98 Location: New York, NY
|
Posted: Fri Jul 06, 2012 1:27 pm Post subject: Laptop Mode Polluting Logs [solved] |
|
|
Hi,
I installed laptop mode and it seems to work fine. However, it continuously pollutes the system logs with the following repeated messages. These messages happen only when the laptop is plugged in. Is there something wrong with it? Is there some way turn the logging off?
| Code: | Jul 6 09:23:23 lapself nobody: ACPI event unhandled: battery BAT0 00000080 00000001
Jul 6 09:23:23 lapself laptop-mode: Laptop mode
Jul 6 09:23:23 lapself laptop-mode: enabled,
Jul 6 09:23:23 lapself laptop-mode: not active [unchanged]
Jul 6 09:23:24 lapself nobody: ACPI event unhandled: battery BAT0 00000080 00000001
Jul 6 09:23:24 lapself laptop-mode: Laptop mode
Jul 6 09:23:24 lapself laptop-mode: enabled,
Jul 6 09:23:24 lapself laptop-mode: not active [unchanged]
Jul 6 09:23:28 lapself nobody: ACPI event unhandled: battery BAT0 00000080 00000001
Jul 6 09:23:28 lapself laptop-mode: Laptop mode
Jul 6 09:23:28 lapself laptop-mode: enabled,
Jul 6 09:23:28 lapself laptop-mode: not active [unchanged]
Jul 6 09:23:28 lapself nobody: ACPI event unhandled: battery BAT0 00000080 00000001
Jul 6 09:23:28 lapself laptop-mode: Laptop mode
Jul 6 09:23:28 lapself laptop-mode: enabled,
Jul 6 09:23:28 lapself laptop-mode: not active [unchanged]
Jul 6 09:23:32 lapself nobody: ACPI event unhandled: battery BAT0 00000080 00000001
Jul 6 09:23:32 lapself laptop-mode: Laptop mode
Jul 6 09:23:32 lapself laptop-mode: enabled,
Jul 6 09:23:32 lapself laptop-mode: not active [unchanged]
Jul 6 09:23:35 lapself nobody: ACPI event unhandled: battery BAT0 00000080 00000001
Jul 6 09:23:35 lapself laptop-mode: Laptop mode
Jul 6 09:23:35 lapself laptop-mode: enabled,
Jul 6 09:23:35 lapself laptop-mode: not active [unchanged]
Jul 6 09:23:38 lapself nobody: ACPI event unhandled: battery BAT0 00000080 00000001
Jul 6 09:23:38 lapself laptop-mode: Laptop mode
Jul 6 09:23:38 lapself laptop-mode: enabled,
Jul 6 09:23:38 lapself laptop-mode: not active [unchanged]
Jul 6 09:23:41 lapself nobody: ACPI event unhandled: battery BAT0 00000080 00000001
Jul 6 09:23:41 lapself laptop-mode: Laptop mode
Jul 6 09:23:41 lapself laptop-mode: enabled,
Jul 6 09:23:41 lapself laptop-mode: not active [unchanged]
Jul 6 09:23:44 lapself nobody: ACPI event unhandled: battery BAT0 00000080 00000001
Jul 6 09:23:44 lapself laptop-mode: Laptop mode
Jul 6 09:23:44 lapself laptop-mode: enabled,
Jul 6 09:23:44 lapself laptop-mode: not active [unchanged]
|
_________________ There are 10 types of people, those who know binary and those who don't.
Last edited by oneself on Fri Jul 06, 2012 7:04 pm; edited 1 time in total |
|
| Back to top |
|
 |
Hypnos Advocate


Joined: 18 Jul 2002 Posts: 2769 Location: Omnipresent
|
Posted: Fri Jul 06, 2012 3:16 pm Post subject: |
|
|
You need to figure out what this event means, and set up an acpid handler (see this post for example). I think laptop-mode is just notifying its response to this unhandled event.
If you get this message repeatedly without doing anything to change the machine's power source, your battery might be damaged. _________________ Personal overlay | Simple backup scheme |
|
| Back to top |
|
 |
oneself Tux's lil' helper

Joined: 02 Jul 2005 Posts: 98 Location: New York, NY
|
Posted: Fri Jul 06, 2012 4:22 pm Post subject: |
|
|
Thank you for your reply.
So, I dug in a little deeper based on your link. The file /etc/acpi/events/lm_battery contains the following:
| Code: | event=battery.*
action=/etc/acpi/actions/lm_battery.sh %e
|
This matches the event listed in the logs. The action is to call a script specified. If I run it manually from the command line, I can see the same messages printed in the logs.
So, it looks like laptop mode is doing what it's suppose to. The question is why is this event firing again and again? _________________ There are 10 types of people, those who know binary and those who don't. |
|
| Back to top |
|
 |
Hypnos Advocate


Joined: 18 Jul 2002 Posts: 2769 Location: Omnipresent
|
Posted: Fri Jul 06, 2012 4:30 pm Post subject: |
|
|
Yeah, I'm concerned about your battery, emitting a message like that every 5 seconds. Try removing your battery and monitoring the logs on AC power. _________________ Personal overlay | Simple backup scheme |
|
| Back to top |
|
 |
oneself Tux's lil' helper

Joined: 02 Jul 2005 Posts: 98 Location: New York, NY
|
Posted: Fri Jul 06, 2012 5:55 pm Post subject: Laptop Mode Polluting Logs [solved] |
|
|
Good instinct!
I replaced my battery with a spare and the messages stopped. I'm going to get a new battery.
Thank you, _________________ There are 10 types of people, those who know binary and those who don't. |
|
| Back to top |
|
 |
Hypnos Advocate


Joined: 18 Jul 2002 Posts: 2769 Location: Omnipresent
|
Posted: Fri Jul 06, 2012 5:58 pm Post subject: |
|
|
Great! Anecdotally, a bad battery can ruin the power controller, so better to find it out early.
Please append "[SOLVED]" to the thread title by editing the first post. _________________ Personal overlay | Simple backup scheme |
|
| Back to top |
|
 |
|