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)
Get a list of all offline/online members in a discord server

Discord server insights Get a list of all offline/online members in a discord server. Uses Selenium to crawl invite links. Config Download Chrome driv

Prakhar Gurunani 3 Oct 21, 2022
Generates Windows 95 and 95 OEM keys using the modulus 7 check algorithm

w95keygen-python windowskeygen.py - Generates Windows 95 and 95 OEM keys using the modulus 7 check algorithm Just download and drop in the directory y

Joshua Alto 1 Dec 06, 2021
A StarkNet project template based on a Pythonic environment

StarkNet Project Template This is an opinionated StarkNet project template. It is based around the Python's ecosystem and best practices. tox to manag

Francesco Ceccon 5 Apr 21, 2022
Problem 5: Fermat near-misses

Problem 5: Fermat near-misses fermatnearmiss This is a script that computes fermat nearm misses when the -f option is set and requires users to input

CHRIS BYRON (Int0x80) 1 Jan 08, 2022
The third home of the bare Programming Language (1st there's my heart, the forest came second and then there's Github :)

The third home of the bare Programming Language (1st there's my heart, the forest came second and then there's Github :)

Garren Souza 7 Dec 24, 2022
Irrigation Component V4 providing support for a custom card

Irrigation Component V4 This release sees the delivery of a custom card https://github.com/petergridge/irrigation_card to render the program options s

12 Oct 28, 2022
A program to generate random numbers b/w 0 to 10 using time

random-num-using-time A program to generate random numbers b/w 0 to 10 using time it uses python's in-built module datetime and an equation which retu

Atul Kushwaha 1 Oct 01, 2022
Christmas tree on the desktop.

new-year-tree Christmas tree on the desktop. [Ссылка на статью habr]

Daniil Gorbenko 10 Dec 29, 2022
Pixelarticons - Pixel Art Icons made simple for Flutter, powered by pixelarticons and fontify

Pixelarticons - Pixel Art Icons made simple for Flutter, powered by pixelarticons and fontify

lask 16 Dec 12, 2022
A Google sheet which keeps track of the locations that want to visit and a price cutoff

FlightDeals Here's how the program works. First, I have a Google sheet which keeps track of the locations that I want to visit and a price cutoff. It

Lynne Munini 5 Nov 21, 2022
Graphsignal Logger

Graphsignal Logger Overview Graphsignal is an observability platform for monitoring and troubleshooting production machine learning applications. It h

Graphsignal 143 Dec 05, 2022
Scripts to integrate DFIR-IRIS, MISP and TimeSketch

Scripts to integrate DFIR-IRIS, MISP and TimeSketch

Koen Van Impe 20 Dec 16, 2022
Fisherman is a free open source fishing bot written in python.

Fisherman is a free open source fishing bot written in python.

Pure | Cody 33 Jan 29, 2022
Script to calculate the italian fiscal code of a person.

fiscal_code Hi! This is my first public repository, so please be kind if it is not well formatted or it contains errors. I started learning Python abo

FrancescoDiMuro 1 Nov 20, 2021
Draw random mazes in python

a-maze Draw random mazes in python This program generates and draws a rectangular maze, with an entrance on one side and one on the opposite side. The

Andrea Pasquali 1 Nov 21, 2021
Batch generate asset browser previews

When dealing with hundreds of library files it becomes tedious to mark their contents as assets. Using python to automate the process is a perfect fit

54 Dec 24, 2022
This is a Blender 2.9 script for importing mixamo Models to Godot-3

Mixamo-To-Godot This is a Blender 2.9 script for importing mixamo Models to Godot-3 The script does the following things Imports the mixamo models fro

8 Sep 02, 2022
A webapp for taking fast notes, designed for business, school, and collaboration with groups.

JOTS Journal of the Session A webapp for taking fast notes, designed for business, school, and collaboration with groups.

Zebadiah S. Taylor 2 Jun 10, 2022
A Pythonic Data Catalog powered by Ray that brings exabyte-level scalability and fast, ACID-compliant, change-data-capture to your big data workloads.

DeltaCAT DeltaCAT is a Pythonic Data Catalog powered by Ray. Its data storage model allows you to define and manage fast, scalable, ACID-compliant dat

45 Oct 15, 2022
Bootstraparse is a personal project started with a specific goal in mind: creating static html pages for direct display from a markdown-like file

Bootstraparse is a personal project started with a specific goal in mind: creating static html pages for direct display from a markdown-like file

1 Jun 15, 2022