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:

    `[joseph@z50-70 ~]$ 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:

    `[joseph@z50-70 ~]$ 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)
This Python library searches through a static directory and appends artist, title, track number, album title, duration, and genre to a .json object

This Python library searches through a static directory (needs to match your environment) and appends artist, title, track number, album title, duration, and genre to a .json object. This .json object is then used to post data to a specified table in a local MySQL database, credentials of which the user must set.

Edan Ybarra 1 Jun 20, 2022
Control System Packer is a lightweight, low-level program to transform energy equations into the compact libraries for control systems.

Control System Packer is a lightweight, low-level program to transform energy equations into the compact libraries for control systems. Packer supports Python ?? , C ?? and C++ ?? libraries.

mirnanoukari 31 Sep 15, 2022
A python API act as Control Center to control your Clevo Laptop via wmi on windows.

ClevoPyControlCenter A python API act as Control Center to control your Clevo Laptop via wmi on windows. Usage # pip3 install pymi from clevo_wmi impo

null 3 Sep 19, 2022
TurtleBot Control App - TurtleBot Control App With Python

TURTLEBOT CONTROL APP INDEX: 1. Introduction 2. Environments 2.1. Simulated Envi

Rafanton 4 Aug 3, 2022
Inverted-pendulum-with-fuzzy-control - Inverted pendulum with fuzzy control

Fuzzy Inverted Pendulum Basically, this project consists of an inverted pendulum

Mahan Ahmadvand 1 Aug 25, 2022
An electron application to check battery of bluetooth devices connected to linux devices.

bluetooth-battery-electron An electron application to check battery of bluetooth devices connected to linux devices. This project provides an electron

Vasu Sharma 15 Dec 3, 2022
New multi tool im making adding features currently

Emera Multi Tool New multi tool im making adding features currently Current List of Planned Features - Linkvertise Bypasser - Discord Auto Bump - Gith

Lamp 3 Dec 3, 2021
This program generates automatically new folders containing old version of program

Automated Folder Versions Generator by Sergiy Grimoldi - V.0.0.2 This program generates automatically new folders containing old version of something

Sergiy Grimoldi 1 Dec 23, 2021
A script that will warn you, by opening a new browser tab, when there are new content in your favourite websites.

web check A script that will warn you, by opening a new browser tab, when there are new content in your favourite websites. What it does The script wi

Jaime Álvarez 52 Mar 15, 2022
Open source home automation that puts local control and privacy first

Home Assistant Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiast

Home Assistant 57k Jan 2, 2023
Modelling and Implementation of Cable Driven Parallel Manipulator System with Tension Control

Cable Driven Parallel Robots (CDPR) is also known as Cable-Suspended Robots are the emerging and flexible end effector manipulation system. Cable-driven parallel robots (CDPRs) are categorized as a type of parallel manipulators

Siddharth U 0 Jul 19, 2022
A Python script to parse Fortinet products serial numbers, and detect the associated model and version.

ParseFortinetSerialNumber A Python script to parse Fortinet products serial numbers, and detect the associated model and version. Example $ ./ParseFor

Podalirius 10 Oct 28, 2022
Doom o’clock is a website/project that features a countdown of “when will the earth end” and a greenhouse gas effect emission prediction that’s predicted

Doom o’clock is a website/project that features a countdown of “when will the earth end” and a greenhouse gas effect emission prediction that’s predicted

shironeko(Hazel) 4 Jan 1, 2022
The purpose is to have a fairly simple python assignment that introduces the basic features and tools of python

This repository contains the code for the python introduction lab. The purpose is to have a fairly simple python assignment that introduces the basic

null 1 Jan 24, 2022
A Python library to simulate a Zoom H6 recorder remote control

H6 A Python library to emulate a Zoom H6 recorder remote control Introduction This library allows you to control your Zoom H6 recorder from your compu

Matias Godoy 68 Nov 2, 2022
MODeflattener deobfuscates control flow flattened functions obfuscated by OLLVM using Miasm.

MODeflattener deobfuscates control flow flattened functions obfuscated by OLLVM using Miasm.

Suraj Malhotra 138 Jan 7, 2023
Control your gtps with gtps-tools!

Note Please give credit to me! Do not try to sell this app, because this app is 100% open source! Do not try to reupload and rename the creator app! S

Jesen N 6 Feb 16, 2022
Parser for RISC OS Font control characters in Python

RISC OS Font control parsing in Python This repository contains a class (FontControlParser) for parsing font control codes from a byte squence, in Pyt

Charles Ferguson 1 Nov 2, 2021
A web project to control the daily life budget planing

Budget Planning - API In this repo there's only the API and Back-End of the this project. Install and run the project # install virtualenv --python=py

Leonardo Da Vinci 1 Oct 24, 2021