Posts: 15
Joined: Jul 2012
Reputation:
0
Just installed XBMCbuntu on an old laptop and I'm very impressed. Just wondering how to install power managment stuff to run so that it shuts down (or hibernates) is the battery is becoming too low. As I'm booting straight into xbmc shell I don't think gnome utilities will work. The only way I can think is to run a script in the background every feww mins to check the battery level via cron.
Any more elegant ideas welcome.
Thanks
Martyn
Posts: 4,146
Joined: Jan 2008
Reputation:
41
Battery level should be visible in system settings. At least i can recall some code for it.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 15
Joined: Jul 2012
Reputation:
0
I can see the battery level, but I don't think that the system will respond to a critical level by powering off in an orderly way.
Martyn
Posts: 47
Joined: Feb 2011
Reputation:
0
I am curious about this as well. I have two eee PCs (701 & 1000HA) which I load with media and use a mobile media players on airplane trips, etc.
The problem I have is not knowing when battery power is low without actively checking it.
Additionally, I'd like to figure out how to set it up to hibernate (or sleep) on lid close. Right now this causes XBMC/ XBMCbuntu to freeze.
4 x OpenELEC 6.0.x (Kodi 15.2) on Rasberry Pi & Intel NUC
3 x Kodi 16.1 Jarvis on *buntu Xenial
6 x SPMC 16.4-2 on Android Mobile & TV Devices
Posts: 1
Joined: May 2013
Reputation:
0
Hi Martyn,
Did you find a solution to monitoring the laptop battery and to gracefully shutdown/hibernate the laptop when it gets to a critical level?
Posts: 24
Joined: Jun 2011
Reputation:
0
l'pc
Junior Member
Posts: 24
XBMC can only show you the battery percentage when you ask for it, but it won't take any action; nor should it IMHO. It is the task of the OS to manage power.
If you are using Linux, I would recommend setting acpid up like Kibje said. If you use Windows or Mac OS X, it shouldn't be difficult to set up :-) .
Posts: 6
Joined: Feb 2016
Reputation:
0
Any news on this topic? Especially for libreelec?
Posts: 14,208
Joined: Nov 2009
Reputation:
710
Klojum
Lost connection
Posts: 14,208
Asking in a 7-year old is not the best approach on this forum.
Also, LibreELEC has its own forum for specific questions.