[kde-freebsd] critical level of battery but no shutdown
Matthias Apitz
guru at unixarea.de
Wed Mar 4 17:55:58 UTC 2015
El día Wednesday, March 04, 2015 a las 12:16:35PM -0500, Anthony Jenkins escribió:
> I just tried it on my KDE4 laptop (HP Envy Sleekbook 15) and it shutdown
> properly at 5% battery. Here's some stuff you might check:
Thanks for your test and reply.
> * Make sure you have sysutils/upower installed. Try running
> '/usr/local/bin/upower --monitor-detail' to see if the UPower daemon is
> properly reporting power events. I think it communicates over DBus (as
> does most of KDE) so that should be installed/running too. My upower log
> is at http://www.qtchat.org/docs/upower-monitor.log .
/usr/local/bin/upower --monitor-detail
is working fine; from time to time it reports the battery/power details;
> * Check to see what KDE4's "Halt" command is configured as. (K-Menu ->
> System Settings -> System Administration -> Login Screen -> Shutdown).
> I have the "Halt" command set to "/sbin/shutdown -p now". I'm not 100%
> sure if this is where KDE4 gets the command to run to shutdown the box
> though...
looks good too:
> can you power off the machine from the K-Menu?
How I can do this exactly? I only see:
Session lock
Session Logout
System Hibernate
System Sleep
Btw: I'm starting KDE4 via 'startx' after login into alpha console;
maybe this is the problem at all? Because, how the system shutdown can
be done as normal user...
> * Set up KDM to log to /var/log/kdm.log. Mine shows shutdown being
> performed:
Where can I do this?
> (EE) Server terminated successfully (0). Closing log file.
> shutdown: [pid 2160]
> Shutdown NOW!
> Shutdown NOW!
>
> * What's the output of 'sysctl hw.acpi.battery'?
# sysctl hw.acpi.battery
hw.acpi.battery.life: 94
hw.acpi.battery.time: 320
hw.acpi.battery.state: 1
hw.acpi.battery.units: 1
hw.acpi.battery.info_expire: 5
Thanks again
matthias
--
Matthias Apitz, guru at unixarea.de, http://www.unixarea.de/ +49-170-4527211
La referencia de la Duma a la anexión de la RDA, en este caso al contrario con la Crimlía sin
referéndum, no solamente tiene gracia sino da en el blanco.-
Marinos Yannikos @MarinosYannikos en un blog de RTdeutsch.
More information about the kde-freebsd
mailing list