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)
personal dotfiles for rolling release linux distros

dotfiles Screenshots: Directions: Deploy my dotfiles with yadm Packages from arch listed in .installed-packages Information on osu! see ~/Games/osu!/.

-pacer- 0 Sep 18, 2022
Kivy program for identification & rotation sensing of objects on multi-touch tables.

ObjectViz ObjectViz is a multitouch object detection solution, enabling you to create physical markers out of any reliable multitouch solution. It's e

TangibleDisplay 8 Apr 04, 2022
My Solutions to 120 commonly asked data science interview questions.

Data_Science_Interview_Questions Introduction 👋 Here are the answers to 120 Data Science Interview Questions The above answer some is modified based

Milaan Parmar / Милан пармар / _米兰 帕尔马 181 Dec 31, 2022
LiteX-Acorn-Baseboard is a baseboard developed around the SQRL's Acorn board (or Nite/LiteFury) expanding their possibilities

LiteX-Acorn-Baseboard is a baseboard developed around the SQRL's Acorn board (or Nite/LiteFury) expanding their possibilities

33 Nov 26, 2022
Search and Find Jobs in Ethiopia

✨ EthioJobs ✨ Search and Find Jobs in Ethiopia Easy start critical warning Use pycharm No vscode No sublime No Vim No nothing when you want to use

Abdimk 12 Nov 09, 2022
Some basic sorting algos

Sorting-Algos Some basic sorting algos HacktoberFest 2021 This repository consists of mezzo-level projects that undertake a simple task and perform it

Manthan Ghasadiya 7 Dec 13, 2022
This is a repository built by the community for the community.

Nutshell Machine Learning Machines can see, hear and learn. Welcome to the future 🌍 The repository was built with a tree-like structure in mind, it c

Edem Gold 82 Nov 18, 2022
Hopefully the the next-generation backend server of bgm.tv

Hopefully the the next-generation backend server of bgm.tv

Bangumi 475 Jan 01, 2023
Moji sends text and fun facts from different APIs wit da use of a notification deamon

Moji sends text and fun facts from different APIs wit da use of a notification deamon. Can be runned via dmenu or rofi.

kshly 2 Jan 12, 2022
Heads Down Application for Mac OSX

Heads Down A Mac app that lives in your ribbon—with a click of the mouse, temporarily block distracting websites and applications to encourage "heads

20 Mar 10, 2021
Feature engineering library that helps you keep track of feature dependencies, documentation and schema

Feature engineering library that helps you keep track of feature dependencies, documentation and schema

28 May 31, 2022
GMHI: Gut Microbiome Health Index

GMHI: Gut Microbiome Health Index Description Gut Microbiome Health Index (GMHI)

Daniel Chang 2 Jun 30, 2022
A Blender addon for VSE that auto-adjusts video strip's length, if speed effect is applied.

Blender VSE Speed Adjust Addon When using Video Sequence Editor in Blender, the speed effect strip doesn't auto-adjusts clip length when changing its

Arpit Srivastava 2 Jan 18, 2022
A small program to vote for Councilors at 42 Heilbronn.

This Docker container is build to run on server an provide an easy to use interface for every student to vote for their councillors. To run docker on

Kevin Hirsig 2 Jan 17, 2022
PyDy, short for Python Dynamics, is a tool kit written in the Python

PyDy, short for Python Dynamics, is a tool kit written in the Python programming language that utilizes an array of scientific programs to enable the study of multibody dynamics. The goal is to have

PyDy 307 Jan 01, 2023
Some usefull scripts for the Nastran's 145 solution (Flutter Analysis) using the pyNastran package.

nastran-aero-flutter This project is intended to analyse the Supersonic Panel Flutter using the NASTRAN software. The project uses the pyNastran and t

zuckberj 11 Nov 16, 2022
The Python Fuzzer that the world deserves 🐍

pip3 install frelatage Current release : 0.0.2 The Python Fuzzer that the world deserves Installation | How it works | Features | Use Frelatage | Conf

Rog3r 219 Dec 21, 2022
Python for Microscopists and other image processing enthusiasts

The YouTube channel associated with this code walks you through the entire process of learning to code in Python; all the way from basics to advanced machine learning and deep learning.

Dr. Sreenivas Bhattiprolu 2.3k Jan 01, 2023
Python code for YouTube videos.

#This is a open source project. Python 3 These files are mainly intended to accompany my series of YouTube tutorial videos here, https://www.youtube.c

Joe James 1.3k Dec 26, 2022
Unofficial Valorant documentation and tools for third party developers

Valorant Third Party Toolkit This repository contains unofficial Valorant documentation and tools for third party developers. Our goal is to centraliz

Noah Kim 20 Dec 21, 2022