This command is valid if your distro has the folder 'battery' in / proc / acpi, if that does not find this, the solution is not to create such a folder with mkdir command with root permissions (sudo mkdir) until same because the system does not allow the creation of folders in this directory when started, then the said resolution to the issue is to use a distro 'live CD' logically with its already installed on the HD, and finally create the folder 'battery' in / proc / acpi.
Well, it is not relevant to the issue discussed here in this topic, but the aforesaid distro technique of using 'live CD', to create folder distros already installed on HD, is useful even for recognition, for example, the USB port. Even for those who use virtual machine, this technique is especially useful if said machine virtualization for Virtual Box, as this is flawed at this point. The procedure under discussion, it is simple to create folders in / proc, creating subsequent folders, which are: / bus / usb. Like this: '/ proc / bus / usb'.
Now, back to this 'post', this topic. How to create the folder with 'live CD' if the distro I installed the HD out to use: "LVM"? Well, I will not explain not to escape the main subject, here goes: For those who can not use the command suprarelatado have this simple form, with the following alternatives:
Installing the 'package' acpi to;
Ubuntu and Debian "'s like":
su-c 'apt-get install acpi'
Fedora (the best in my opinion), or Red Hat's related:
su-c 'yum install acpi'
And then, finally, run: 'acpi' (without the quotes, of course, a logical corollary).
But the list of alternatives, do not stop there. Then install:
su-c 'yum install powertop'
Then run as super user: su-c 'powertop' (the powertop is the best of all, it updates itself).
We have, moreover, "gkrellm", add the battery option, remembering that this is GUI (ultra light). There is conky, but this is problematic because the distro has to have the folder 'battery' in / proc / acpi.
Regards to all, using the intelligence and use Linux. And, after all, be smart, no security flaw in gnome screesaver, to remove it if they will not be invaded. Indeed, the failure is for all 'bobinhos' linux screen savers. We go there, you know, one should use is: openbox or even fluxbox. These represent the Linux and not the "windows" likes "':" Gnome and worse, KDE ".