Slimbook Battery 4 is the new version with new features that improves battery control and increases battery duration in laptops.

Overview

Slimbookbattery

Slimbook Battery 4 is the new version with new features that improves battery control and increases battery duration in laptops.

This update offers new possibilities to the users, thanks to the integration with other applications, services and drivers like TLP, intel_pstate, AMD and NVIDIA.

This means that this application it's not only compatible with SLIMBOOK computers but with other brands and computer manufacturers that work with Ubuntu and derivatives.

The application implements three different energy modes: «energy saving», «balanced» and «maximum performance». Each energy mode comes with default values but the user is allowed to change the most important values, to adjust or avoid errors in their hardware.

The energy save applications like TLP are based on "If I i'm not using it and consumes, I better turn it off". In this way the consumption of resources is reduced when the computer uses the battery. Slimbook Battery 4 uses this premise as a source of energy saving.

Captura de pantalla de 2021-10-01 12-58-49

Install for testing

Download the .deb file here: https://github.com/slimbook/slimbookbattery/releases

Run command: sudo apt install ./slimbookbattery_4.0.0_all.deb

Install

  • For debian based distros

    You can download Slimbook Battery from our application download center for Linux with our repositories in Launchpad. You can do it too if you introduce this in a Terminal (Ctrl+Alt+T):

      sudo add-apt-repository ppa:slimbook/slimbook
      sudo apt update
    

    By doing this we will have added the Slimbook repositories. Now we will execute the next command to install the application:

      sudo apt install slimbookbattery
    

  • From this repository-source

    Donwload entire repo. Navigate to it in a terminal. And run deploy.sh script:

      ./deploy.sh
    

    It will deploy SlimbookBattery in your system, check and install Python dependencies prepare all.


Collaborate

You can help us by taking a look at our To do list


Tips and frequent questions

  • What should I do after install?

    The first of all will be to start the main launcher of Slimbook Battery, so that the application will perform the initial configuration that applies the first time it is opened. Now you can start using any of the 3 energy saving modes and access the configuration, if you wish.

  • What energy level is recommended by you?

    The level of energy we recommend would depend on the use you give to your laptop. If you are going to give an office use, that is, perform basic tasks such as surfing the Internet to visit a page, answer emails or write a document, we recommend using the Energy Saving mode. On the other hand, if you want to give it another type of use that requires more resources for certain applications, it is already recommended to use the Balanced mode or the Maximum performance mode.

  • Why isn't it displayed in my language?

    Currently Slimbook Battery is only available in Spanish, English, Galician, Italian and Portuguese, so that it appears in your language you have to have the system in one of the previously mentioned languages. In case the language of the system you use is not any of the named, the application will be shown by default in English. If you want Slimbook Battery also to be available in your language and you want to make the translation yourself, you can consult our repository where we have uploaded the files to make the translations in any language.

  • I do not see the Slimbook Battery indicator in the taskbar

    This may be because you have the option to disable Icon on the taskbar.

    If this is the case, you simply have to start Slimbook Battery Preferences, enable this option again and restart Slimbook Battery.

    If you are using Elementary OS, then you need to install wingpanel-indicator-ayatana, follow the instructions to install it.

    In case it still does not appear, check that you have installed gnome-shell-extension-appindicator. If you don't have it installed, do it:

    sudo apt-get install gnome-shell-extension-appindicator
    

    Once it has been installed, restart your session, and open the preferences window, the indicator should now appear if you click the accept button.

    imagen

  • How to uninstall Slimbook Battery

    To uninstall Slimbook Battery:

    sudo apt purge slimbookbattery
    

    To uninstall TLP:

    sudo apt purge tlp tlp-drw
    
  • I have another problem or doubt about Slimbook Battery, where can I contact to solve it?

    You can contact us for anything you need regarding Slimbook Battery by sending an email to: [email protected]

    We would appreciate that you attach the file that is generated by clicking on the Generate report button of the Information tab in Slimbook Battery Preferences, as it helps us in a great measure to continue improving Slimbook Battery.

    This app has been tested with: Unity, GNOME, KDE Plasma, Cinnamon, Pantheon...

Comments
  • Include deployment script

    Include deployment script

    To avoid package-manager dependency, it could be a good idea to have an installation/deployment script to deploy repository in to the system.

    This method could avoig tasks to generate all distros packages, reducing releases complexity and adding compatibility for non-debian distros (I use Manjaro BTW)

    More over, developers will have an easy way to "test in production" before make any pullrequest (I want to collaborate Slimbook as developer BTW)

    Regards! :smile:

    enhancement 
    opened by Carlosmape 38
  • Window too tall, can't save changes

    Window too tall, can't save changes

    Hi, the window where preferences are set is too big to be displayed properly at 1366x768 displays. Buttons on the bottom are clickable, but I can't see what they say until I move the windows with a shortcut key (XFCE 4.14). Although, the most important issue is that the accept button does not do anything and it's impossible to save my changes. The old window worker better, this also seems a bit overstyled for my taste. Version that I have installed is 4.0.2

    opened by Pizzacutter-at-tty3 18
  • App Icon missing with update to 4.0.4

    App Icon missing with update to 4.0.4

    Describe the bug Since the update to version 4.0.4, the icon symbols do not show anymore. The app is still running fine. And there is a blank place where it should show the current setting. With the testing version https://github.com/slimbook/slimbookbattery/releases/tag/Test the problem is still there

    To Reproduce Steps to reproduce the behavior:

    1. Install and look in the app tray
    2. Click on '....'
    3. Scroll down to '....'
    4. See error

    Desktop (please complete the following information):

    • OS: Xubuntu 21.10
    • Version: 4.0.4
    • Desktop Environment: Xfce

    Screenshots In the center of the image is the "invisible" icon tray. image

    bug 
    opened by smiddy 13
  • Cannot upgrade on archlinux

    Cannot upgrade on archlinux

    Hello, I install slimbookbattery on archlinux yesterday [ver.3.97beta-4] from AUR. Today I see upgrade to ver. 4.0.1-1 but cannot upgrade because package tlp-rdw<=1.3.1. I have last tlp and tlp-rdw installed [ver. tlp-rdw-1.4.0-1].

    Regards, Przemek

    opened by PrzemekSkw 10
  • Unable to resize window and access options in the bottom

    Unable to resize window and access options in the bottom

    Hello Slimbook team! I have been using your application for over a year now on my ubuntu 20.04 machine(14'' screen), recently with the new update, I am unable to select the options and slimbook seems to have no effect on my battery levels Screenshot from 2022-02-14 23-17-33 as you can see, I am unable to move the window or resize it to access "cancel", "Restore.." or "accept" options.

    bug 
    opened by Rank-N-Tensor 9
  • Application Won't Turn On

    Application Won't Turn On

    Hello,

    I recently installed Slimbook Battery version 4.0.1-3 from the AUR on Arch Linux on a 2014 Lenovo z50-70 with an Intel i7-4510U (4) @ 2.100GHz. I get the following errors when running the application and clicking Accept:

    Without sudo:

    `[[email protected] ~]$ slimbookbattery
    Language:  en_US
    Full window is displayed
    Width: 1920  Height: 1080
    model name      : Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz
    Intel
    TDP Controller: slimbookintelcontroller
    TDP Controller not installed
    ['en_US']
    
    Loading variables ...
    
            State: on
            Autostart: on
            Mode: Medium
            WorkMode:  AC
            Icon: on
    
    LOADING LOW MODE COMPONENTS ...
    
    LOADING BALANCED MODE COMPONENTS ...
    
    LOADING HIGH MODE COMPONENTS ...
    
    Closing window ...
            State: on
            Autostart: on
            Mode: Mid
    
    Switch alerts: False
    
    ['AHORRODEENERGIA' CONFIGURATION]
    Setting limit to maximum --> Exit: 0
    Traceback (most recent call last):
      File "/usr/share/slimbookbattery/src/slimbookbatterypreferences.py", line 3938, in close_ok
        self.apply_conf()
      File "/usr/share/slimbookbattery/src/slimbookbatterypreferences.py", line 4075, in apply_conf
        self.write_modes_conf()
      File "/usr/share/slimbookbattery/src/slimbookbatterypreferences.py", line 3170, in write_modes_conf
        statGovernor = self.comboBoxGovernor.get_active_iter()  # .conf file && Tlp custom file*
    AttributeError: 'Preferences' object has no attribute 'comboBoxGovernor'`
    

    With sudo:

    `[[email protected] ~]$ sudo slimbookbattery
    Language:  en_US
    Full window is displayed
    Copiying configuration files ...
    Width: 1920  Height: 1080
    'TDP'
    
    Closing window ...
            State: on
            Autostart: off
    Err: Could not get mode
    Traceback (most recent call last):
      File "/usr/share/slimbookbattery/src/slimbookbatterypreferences.py", line 3938, in close_ok
        self.apply_conf()
      File "/usr/share/slimbookbattery/src/slimbookbatterypreferences.py", line 4035, in apply_conf
        config.set('CONFIGURATION', 'plug_warn', '0')
      File "/usr/lib/python3.9/configparser.py", line 1204, in set
        super().set(section, option, value)
      File "/usr/lib/python3.9/configparser.py", line 902, in set
        raise NoSectionError(section) from None
    configparser.NoSectionError: No section: 'CONFIGURATION'`
    

    I am not sure if this is a packaging issue and I should post in the AUR forum or if it's an issue with the application itself and I should post here, so forgive me if it was an issue with packaging.

    enhancement 
    opened by JosephReza 9
  • The application Slimbook Battery has closed unexpectedly (Ubuntu 20.04.3)

    The application Slimbook Battery has closed unexpectedly (Ubuntu 20.04.3)

    Describe the bug Crashes on startup with the following message:

    Screenshot from 2022-01-09 11-47-53

    Desktop (please complete the following information):

    • OS: Ubuntu 20.04.3

    Expected behavior (Optional) not to crash

    bug 
    opened by baermathias 6
  • Suport change from theme shceme colors to app scheme

    Suport change from theme shceme colors to app scheme

    • OS: Ubuntu 20.04
    • GUI: Mate
    • Theme: Ambiant-Mate

    image

    It seems that the application get the scheme colors from theme. In my scenario, the theme doesn't seems to get well with the app. It may be a good point to be able to switch between them scheme to app scheme.

    opened by oriolpiera 5
  • Impossible to save custom parameters

    Impossible to save custom parameters

    Hi, thank you for the new version of Slimbook Battery. I am on Ubuntu 20.04 LTS. I have an issue, when I want to change le luminosity level of the 3 modes (saving/balanced/perofrmences), I click on "accept". Parameters aren't saving. When I launch again the advanced mode, I find the defaut parameters each time.

    opened by Pm38110 5
  • Slimbook breaks grub menu after installation (Linux Mint)

    Slimbook breaks grub menu after installation (Linux Mint)

    Describe the bug The slimbook battery installation breaks my grub boot menu. It replaces my linux mint with ubuntu from grub menu. I have tried to reinstall grub, but nothing works.

    To Reproduce Steps to reproduce the behavior:

    1. Install LInux MInt
    2. Login into LInux MInt
    3. Install slimbook battery
    4. restart the computer
    5. LInux mint has been replaced by Ubuntu (broken)

    Desktop (please complete the following information):

    • OS: Linux Mint
    • Version: 21 (vanessa)
    • Desktop Environment: CInnamon

    Expected behavior (Optional) LInux MInt should not be replaced by Ubuntu from Grub. I should be able to login into LInux MInt from grub.

    bug 
    opened by geraldhoarau14 4
  • configparser.NoSectionError: No section: 'CONFIGURATION'

    configparser.NoSectionError: No section: 'CONFIGURATION'

    Error arises on system boot with "Crash report" prompt

    Desktop (please complete the following information):

    • OS: Ubuntu 20.04.4 LTS
    • CPU: AMD Ryzen 7 pro 5850u

    Screenshots Screenshot from 2022-06-18 17-50-20

    How can I fix it? I'd like to fix it myself with your guidance if you wish and make pull-request.

    bug 
    opened by w-user 4
  • System slow with slimbook after updating Kernel to 6.0.11

    System slow with slimbook after updating Kernel to 6.0.11

    Describe the bug Powersaving and Balanced modes end up being more aggressive. Seems like the kernel changed something related to pstates, that may be causing the issue(?) https://github.com/archlinux/svntogit-packages/commit/3be6ffd4946606c1929bf81b7fe3a91a57944955

    To Reproduce Steps to reproduce the behavior:

    1. Update kernel through pacman
    2. Reboot the system
    3. Login
    4. See error

    Desktop (please complete the following information):

    • OS: EndeavourOS x86_64
    • Desktop Environment: KDE

    Expected behavior (Optional) Smooth running regardless of modes.

    Screenshots Energy Saving & Balanced mode image Maximum Performance Mode image

    Additional context Does the app need to be changed according to new config? I just wanted to report here at least if that's the case or there's some way we can get around it.

    Related(?): https://bbs.archlinux.org/viewtopic.php?id=281799

    bug 
    opened by ShiroYasha139 0
  • Error during install from AUR repository

    Error during install from AUR repository

    Describe the bug When I install slimbookbattery from the AUR repository using pamac it will give following errors:

    Preparing...
    Checking dependencies...
    Removing slimbookbattery (4.0.8beta-3)...
    Removing slimbookamdcontroller (0.3.9beta-1)...
    Running post-transaction hooks...
    Reloading system manager configuration...
    Arming ConditionNeedsUpdate...
    Updating icon theme caches...
    Updating the desktop file MIME type cache...
    Transaction successfully finished.
    
    Preparing...
    Synchronizing package databases...
    Resolving dependencies...
    Checking inter-conflicts...
    Checking keyring...
    Checking integrity...
    Loading packages files...
    Checking file conflicts...
    Checking available disk space...
    Installing slimbookamdcontroller (0.3.9beta-1)...
    Getting logname ...
    Config check executed as reboot
    Traceback (most recent call last):
      File "/usr/share/slimbookamdcontroller/src/configuration/check_config.py", line 31, in <module>
        uid, gid = pwd.getpwnam(USER_NAME).pw_uid, pwd.getpwnam(USER_NAME).pw_gid
    KeyError: "getpwnam(): name not found: 'reboot'"
    Error while configuring slimbookamdcontroller
    Error: slimbookamdcontroller: command failed to execute correctly
    Installing slimbookbattery (4.0.8beta-3)...
    Traceback (most recent call last):
      File "/usr/share/slimbookbattery/src/check_config.py", line 29, in <module>
        uid, gid = pwd.getpwnam(USER_NAME).pw_uid, pwd.getpwnam(USER_NAME).pw_gid
    KeyError: "getpwnam(): name not found: 'reboot'"
    Error while configuring slimbookbattery
    Running post-transaction hooks...
    Reloading system manager configuration...
    Arming ConditionNeedsUpdate...
    Updating icon theme caches...
    Updating the desktop file MIME type cache...
    Transaction successfully finished.
    

    To Reproduce Steps to reproduce the behavior:

    1. Open pamac manager
    2. install slimbookbattery
    3. open install log
    4. See error

    Desktop (please complete the following information):

    • OS: Manjaro sway edition
    • Version:
    • Desktop Environment:

    Expected behavior (Optional) A clear and concise description of what you expected to happen.

    Screenshots If applicable, add screenshots to help explain your problem.

    Additional context As a result, I cannot run slimbookbattery. The output is following:

    > slimbookbattery
    
    Cannot open log file /var/slimbookbattery.log, using /tmp/slimbookbattery.log
    Cannot open log file /var/slimbookbattery.log, using /tmp/slimbookbattery.log
    2022-12-05 13:29:43,935 - 1692 - ERROR - Unexpected error
    Traceback (most recent call last):
      File "/usr/lib/python3.10/configparser.py", line 790, in get
        value = d[option]
      File "/usr/lib/python3.10/collections/__init__.py", line 986, in __getitem__
        return self.__missing__(key)            # support subclasses that define __missing__
      File "/usr/lib/python3.10/collections/__init__.py", line 978, in __missing__
        raise KeyError(key)
    KeyError: 'saving_tdpsync'
    
    During handling of the above exception, another exception occurred:
    [...]
    
    bug 
    opened by tobip 0
  • Regarding changing settings on connection to AC

    Regarding changing settings on connection to AC

    Originally posted by me in https://github.com/Slimbook-Team/slimbookbattery/issues/88#issuecomment-1305484243.

    Since it was too off-topic for that issue, hence created a new one. This is a continuation of that conversation.


    once you connect the ac, governor will switch to performance , and stop using the bat settings (1st column). You can check it with sudo tlp stat -p

    It doesn't change when I connect AC. I will use monitor mode of auto-cpufreq to show this (since it uses an update loop and shows battery status).

    I set energy saving mode, and the output is as below which is expected (ignore suggestion):

    image

    Now when I connect battery, the output is as below:

    image

    So it didn't change.

    If I change the mode to maximum performance, the output still remains the same, because the 1st column settings don't apply when on AC:

    image

    Here is the max performance setting for reference:

    image

    Also, it seems the "Disable animation" switch has negative logic. If I turn it on, then animations are enabled. Maybe it was intended to be yes/no, but then implemented as a switch.

    opened by siddhpant 6
  • Restore TLP config when turned off

    Restore TLP config when turned off

    Is your feature request related to a problem? Please describe. Turning off Slimbook Battery (SBAT henceforth) doesn't restore my previous TLP settings and neither does it turn it on. I expected SBAT to pass control to TLP solely when I turn SBAT off, rather than stop power management in the laptop altogether.

    Describe the solution you'd like Turn on TLP and restore old config when I turn off SBAT.

    Describe alternatives you've considered Manually restoring from backup and running sudo tlp start.

    Additional context I also had set some settings in TLP which SBAT maybe seems to override, like disabling radio devices like BT on startup. I think it should not do that, there is more power saving in them disabled on start, and since it is set by user, high performance should not enable it either (it doesn't depend on it anyways).

    opened by siddhpant 8
  • Danger! Warning! RPM tries to remove

    Danger! Warning! RPM tries to remove "/" upon uninstall !!!

    On Mageia 8 (which normally behaves quite same as on any other rpm distro) uninstalling the rpm gives the following error output:

    Entfernen des Pakets slimbookbattery-4.0.5beta-2.noarch 1/1: slimbookbattery-4.0.5beta-2.noarch wird entfernt ########################################################################################################Warnung: Verzeichnis /: Entfernen fehlgeschlagen: Das Gerät oder die Ressource ist belegt

    which means it would have deleted "/" if it would not be in use!

    be warned!

    regards

    Tuxinator

    bug 
    opened by thetuxinator 0
  • polkit policy asks a password on Manjaro

    polkit policy asks a password on Manjaro

    Describe the bug when opening the app, we get a message box to ask a root password

    To Reproduce Open the app or change the config

    Desktop (please complete the following information):

    • OS: Manjaro
    • Version: 22.0.0 Sikaris
    • Desktop Environment: cinamon

    Expected behavior (Optional) No password

    Screenshots (lazy, sorry)

    Additional context I have found the fix : The issue is that polkit does not found /usr/bin/slimbookbattery-pkexec because it is on /usr/sbin on Manjaro. So, to solve the issue, please check if slimbookbattery-pkexec is in /usr/bin or /usr/sbin (or run a "which slimbookbattery-pkexec"). Then update /usr/share/polkit-1/actions/com.ubuntu.pkexec.slimbookbattery.policy

    bug 
    opened by sangorys 0
Releases(v4.0.8)
Python client library for the Databento API

Databento Python Library The Databento Python client library provides access to the Databento API for both live and historical data, from applications

Databento, Inc. 35 Dec 24, 2022
fetchmesh is a tool to simplify working with Atlas anchoring mesh measurements

A Python library for working with the RIPE Atlas anchoring mesh. fetchmesh is a tool to simplify working with Atlas anchoring mesh measurements. It ca

2 Aug 30, 2022
3x - This Is 3x Friendlist Cloner Tools

3X FRIENDLIST CLONER TOOLS COMMAND $ apt update $ apt upgrade $ apt install pyth

MAHADI HASAN AFRIDI 2 Jan 17, 2022
Sudoku solver using backtracking

Sudoku solver Sudoku solver using backtracking Basically in sudoku, we want to be able to solve a sudoku puzzle given an input like this, which repres

Kylie 99 Jan 07, 2023
GDIT: Geometry Dash Info Tool

GDIT: Geometry Dash Info Tool This is the first large script that allows you to quickly get information from the Geometry Dash server

dezz0xY 2 Jan 09, 2022
Run python scripts and pass data between multiple python and node processes using this npm module

Run python scripts and pass data between multiple python and node processes using this npm module. process-communication has a event based architecture for interacting with python data and errors ins

Tyler Laceby 2 Aug 06, 2021
Library support get vocabulary from MEM

Features: Support scraping the courses in MEM to take the vocabulary Translate the words to your own language Get the IPA for the English course Insta

Joseph Quang 4 Aug 13, 2022
A PDM plugin to publish to PyPI

PDM Publish A PDM plugin to publish to PyPI NOTE: Consider if you need this over using twine directly Installation If you installed pdm via pipx: pipx

Branch Vincent 20 Aug 06, 2022
Python wrapper around Apple App Store Api

App Store Connect Api This is a Python wrapper around the Apple App Store Api : https://developer.apple.com/documentation/appstoreconnectapi So far, i

123 Jan 06, 2023
A 3D Slicer Extension to view data from the flywheel heirarchy

flywheel-connect A 3D Slicer Extension to view, select, and download images from a Flywheel instance to 3D Slicer and storing Slicer outputs back to F

4 Nov 05, 2022
My Analysis of the VC4 Assembly Code from the RPI4

My Analysis of the VC4 Assembly Code from the RPI4

Nicholas Starke 31 Jul 13, 2022
Implements a polyglot REPL which supports multiple languages and shared meta-object protocol scope between REPLs.

MetaCall Polyglot REPL Description This repository implements a Polyglot REPL which shares the state of the meta-object protocol between the REPLs. Us

MetaCall 10 Dec 28, 2022
Cairo-integer-types - A library for bitwise integer types (e.g. int64 or uint32) in Cairo, with a test suite

The Cairo bitwise integer library (cairo-bitwise-int v0.1.1) The Cairo smart tes

27 Sep 23, 2022
Simple rofi script to choose player for playerctl to execute its command

rofi-playerctl-switcher simple rofi script to choose player for playerctl to execute its command Usage copy playerSwitch.py and playerctl.sh to ~/.con

2 Jan 03, 2022
Python bindings for `ign-msgs` and `ign-transport`

Python Ignition This project aims to provide Python bindings for ignition-msgs and ignition-transport. It is a work in progress... C++ and Python libr

Rhys Mainwaring 3 Nov 08, 2022
IG Trading Algos and Scripts in Python

IG_Trading_Algo_Scripts_Python IG Trading Algos and Scripts in Python This project is a collection of my work over 2 years building IG Trading Algorit

191 Oct 11, 2022
本仓库整理了腾讯视频、爱奇艺、优酷、哔哩哔哩等视频网站中,能够观看的「豆瓣电影 Top250 榜单」影片。

Where is top 250 movie ? 本仓库整理了腾讯视频、爱奇艺、优酷、哔哩哔哩等视频网站中,能够观看的「豆瓣电影 Top250 榜单」影片,点击 Badge 可跳转至相应的电影首页。

MayanDev 123 Dec 22, 2022
Simple Wayland HotKey Daemon

swhkd Simple Wayland HotKey Daemon This project is still very new and I'm making new decisions everyday as to where I should drive this project. I'm u

Aakash Sen Sharma 407 Dec 30, 2022
Easy Alias's for bash

easy-alias Easy Alias's for bash Setup Your system needs to have 'echo' which every 21st century computer has You dont need any python requirments but

Hashm 2 Jan 18, 2022
A student information management system in Python

Student-information-management-system 本项目是一个学生信息管理系统,这个项目是用Python语言实现的,也实现了图形化界面的显示,同时也实现了管理员端,学生端两个登陆入口,同时底层使用的是Redis做的数据持久化。 This project is a stude

liuyunfei 7 Nov 15, 2022