BAT0 No such file or directory

Bug #1192129 reported by Rona Dini Hari
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
cpufreqd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When starting, running on battery, or back to ac power this is what I get:

Jun 18 17:52:05 rona-E1425A cpufreqd: get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0e/PNP0C09:00/PNP0C0A:00/power_supply/BAT0/energy_full (No such file or directory)
Jun 18 17:52:05 rona-E1425A cpufreqd: get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0e/PNP0C09:00/PNP0C0A:00/power_supply/BAT0/energy_now (No such file or directory)
Jun 18 17:52:05 rona-E1425A cpufreqd: get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0e/PNP0C09:00/PNP0C0A:00/power_supply/BAT0/energy_full (No such file or directory)
Jun 18 17:52:05 rona-E1425A cpufreqd: get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0e/PNP0C09:00/PNP0C0A:00/power_supply/BAT0/energy_now (No such file or directory)
Jun 18 17:52:05 rona-E1425A cpufreqd: get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0e/PNP0C09:00/PNP0C0A:00/power_supply/BAT0/energy_full (No such file or directory)
Jun 18 17:52:05 rona-E1425A cpufreqd: get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0e/PNP0C09:00/PNP0C0A:00/power_supply/BAT0/energy_now (No such file or directory)

$ sudo ls -1 /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0e/PNP0C09:00/PNP0C0A:00/power_supply/BAT0
alarm
charge_full
charge_full_design
charge_now
current_now
cycle_count
device
manufacturer
model_name
power
present
serial_number
status
subsystem
technology
type
uevent
voltage_min_design
voltage_now

Description: Ubuntu 12.04.2 LTS
Release: 12.04

$ apt-cache policy cpufreqd
cpufreqd:
  Installed: 2.4.2-1
  Candidate: 2.4.2-1
  Version table:
 *** 2.4.2-1 0
        500 http://id.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cpufreqd (Ubuntu):
status: New → Confirmed
Revision history for this message
Hauke Wintjen (hwintjen) wrote :

Affects me too in Ubuntu 14.04 with cpufreqd 2.4.2-2ubuntu1.

Effect is that when AC power is restored, full performance mode is not endabled so this is a major drawback for laptop users who which to preserve energy when AC off and gain full performance when AC is on.

Revision history for this message
Hauke Wintjen (hwintjen) wrote :

See also https://bugs.launchpad.net/ubuntu/+source/cpufreqd/+bug/642597 and Debian bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495655 .

It sounds like it wasa fixed inDebian version 2.3.3, but it is not working to restore back full performance mode when AC is back on.

Revision history for this message
Matthew Spraggs (matthew-spraggs) wrote :

Is anything being done about this bug. Although it's not a show stopper, it is quite inconvenient as I have to restart the cpufreqd service every time I unplug or connect AC, otherwise I end up with my CPU being stepped down to 800MHz in frequency.

Revision history for this message
Phillip Susi (psusi) wrote :

This package is basically obsolete and unmaintained these days since frequency scaling management is fully in the kernel so you are probably best just uninstalling it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.