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)
a url shortener with fastapi and tortoise-orm

fastapi-tortoise-orm-url-shortener a url shortener with fastapi and tortoise-orm

19 Aug 12, 2022
This is a simple bank management system based on Python.

Python Bank Management This is a simple bank management system based on Python. It's able to do basic operations of simple bank management. Outcome: W

Md. Rakibul Islam 3 Jan 06, 2022
A Python application that simulates the rolling of a dice, randomly picking one of the 6 faces and then displaying it.

dice-roller-app This is an application developed in Python that shuffles between the 6 faces of a dice, using buttons to shuffle and close the applica

Paddy Costelloe 0 Jul 20, 2021
Repo with data from local elections in Portugal from 2009 to 2013

autarquicas - local elections in Portugal Repo with data from local elections in Portugal from 2009 to 2013 Objective To provide, to all, raw data fro

Jorge Gomes 6 Apr 06, 2022
Markov Chain Composer

Markov Chain Composer Using Markov Chain to represent relationships between words in song lyrics and then generating new lyrics.. ahem interpretive po

Kylie 85 Dec 09, 2022
Criando um jogo de naves espaciais com Pygame. Para iniciantes em Python

Curso de Programação de Jogos com Pygame Criando um jogo de naves espaciais com Pygame. Para iniciantes em Python Pré-requisitos Antes de começar este

Flávio Codeço Coelho 33 Dec 02, 2022
A Python wrapper API for operating and working with the Neo4j Graph Data Science (GDS) library

gdsclient NOTE: This is a work in progress and many GDS features are known to be missing or not working properly. This repo hosts the sources for gdsc

Neo4j 100 Dec 20, 2022
Import Apex legends mprt files exported from Legion

Apex-mprt-importer-for-Blender Import Apex legends mprt files exported from Legion. REQUIRES CAST IMPORTER Usage: Use a VPK extracter to extract the m

15 Dec 18, 2022
A collection of examples of using cocotb for functional verification of VHDL designs with GHDL.

At the moment, this repo is in an early state and serves as a learning tool for me. So it contains a a lot of quirks and code which can be done much better by cocotb-professionals.

T. Meissner 7 Mar 10, 2022
A python script to search for k-uniform Euclidean tilings.

k-uniform-solver A python script to search for k-uniform Euclidean tilings. This project's aim is to replicate and extend the list of k-uniform Euclid

3 Dec 06, 2022
A simple string parser based on CLR to check whether a string is acceptable or not for a given grammar.

A simple string parser based on CLR to check whether a string is acceptable or not for a given grammar.

Bharath M Kulkarni 1 Dec 15, 2021
Use `forge` and `cast` commands in Python scripts

foundrycli.py ( 🔥 , 🐍 ) foundrycli.py is a Python library I've made for personal use; now open source. It lets you access forge and cast CLIs from P

Zero Ekkusu 17 Jul 17, 2022
Process GPX files (adding sensor metrics, uploading to InfluxDB, etc.) exported from imxingzhe.com

Xingzhe GPX Processor 行者轨迹处理工具 Xingzhe sells cheap GPS bike meters with sensor support including cadence, heart rate and power. But the GPX files expo

Shengqi Chen 8 Sep 23, 2022
Flask-built web application that simulates a time and cost calculator for charging Electric Vehicles.

ev_charging_calculator Flask-built web application that simulates a time and cost calculator for charging Electric Vehicles. The project aims to simul

1 Nov 03, 2021
Convert text with ANSI color codes to HTML or to LaTeX.

Convert text with ANSI color codes to HTML or to LaTeX.

PyContribs 326 Dec 28, 2022
Blender Light Manipulation - A script that makes it easier to work with light

Blender Light Manipulation A script that makes it easier to work with light 1. Wstęp W poniższej dokumentacji przedstawiony zostanie skrypt, który swo

Tomasz 1 Oct 19, 2021
Project repository of Apache Airflow, deployed on Docker in Amazon EC2 via GitLab.

Airflow on Docker in EC2 + GitLab's CI/CD Personal project for simple data pipeline using Airflow. Airflow will be installed inside Docker container,

Ammar Chalifah 13 Nov 29, 2022
A web app for presenting my research in BEM(building energy model) simulation

BEM(building energy model)-SIM-APP The is a web app presenting my research in BEM(building energy model) calibration. You can play around with some pa

8 Sep 03, 2021
ToDoListAndroid - To-do list application created using Kivymd

ToDoListAndroid To-do list application created using Kivymd. Version 1.0.0 (1/Jan/2022). Planned to do next: -Add setting (theme selector, etc) -Add f

AghnatHs 1 Jan 01, 2022
COVID-19 case tracker in Dash

covid_dashy_personal This is a personal project to build a simple COVID-19 tracker for Australia with Dash. Key functions of this dashy will be to Dis

Jansen Zhang 1 Nov 30, 2021