Git Product home page Git Product logo

auto-epp's Introduction

Hi there ๐Ÿ‘‹

I am Jothi Prasath, a Developer, Desinger and Linux enthusiast.

I'm familiar with tech like Python, C, HTML, CSS, Javascript, Shell Scripting and Electron for cross-platform desktop apps, Ansible for automation and configuration management.

I actively contribute to open-source projects and believe in the power of collaboration and sharing knowledge. I'm always looking for opportunities to contribute to exciting projects and expand my skill set.

Feel free to explore my GitHub repositories to see some of my projects and contributions. If you have any questions or would like to collaborate, don't hesitate to reach out.

trophy

LinkedIn Gmail Twitter

auto-epp's People

Contributors

alexey336 avatar jothi-prasath avatar lamarios avatar nyanraltotlapun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

auto-epp's Issues

Failed to start auto-epp.service - auto-epp - Automatic amd-pstate epp.

ร— auto-epp.service - auto-epp - Automatic amd-pstate epp
     Loaded: loaded (/etc/systemd/system/auto-epp.service; enabled; preset: disabled)
    Drop-In: /usr/lib/systemd/system/service.d
             โ””โ”€10-timeout-abort.conf
     Active: failed (Result: exit-code) since Fri 2023-09-29 21:49:45 CEST; 5s ago
   Duration: 1ms
    Process: 4456 ExecStart=/usr/bin/auto-epp (code=exited, status=203/EXEC)
   Main PID: 4456 (code=exited, status=203/EXEC)
        CPU: 1ms

Sep 29 21:49:45 fedora systemd[1]: auto-epp.service: Scheduled restart job, restart counter is at 5.
Sep 29 21:49:45 fedora systemd[1]: Stopped auto-epp.service - auto-epp - Automatic amd-pstate epp.
Sep 29 21:49:45 fedora systemd[1]: auto-epp.service: Start request repeated too quickly.
Sep 29 21:49:45 fedora systemd[1]: auto-epp.service: Failed with result 'exit-code'.
Sep 29 21:49:45 fedora systemd[1]: Failed to start auto-epp.service - auto-epp - Automatic amd-pstate epp.

Surface Laptop 15 AMD with surface kernel 6.4 Fedora 38 :(

No change to amd_pstate_epp

Hi,

I have this working in tandem with auto-cpufreq and, after having enabled the auto_epp service and rebooting, the system doesnt seem to acknowledge my .conf file (eg. I wrote BAT=power, but it remains at BAT=balanced_power) even though it shows the service running.

Does this have to do with changing it to active/passive/guided mode?

forgive my ignorance if this is an obvious answer.

Cheers!

Issue when battery is plugged in, not full but not charging

So on my laptop there is a "conservative" which basically limits the charge to 80% and auto-epp reports it as on Battery because of this:

sbattery(percent=79.52387907112605, secsleft=<BatteryTime.POWER_TIME_UNKNOWN: -1>, power_plugged=None)

power_plugged is None, when on battery power_plugged=False and when charging power_plugged=True

I fixed it on my end by updating the condition

    if battery.power_plugged is None or battery.power_plugged:

but i'm not sure if that would apply to all the laptops that have similar modes hence i didn't make PR for now.

Not forcing to run as root, instead check write permission on required files

I'm currently submitting this package for nixos ( see PR ) and one comment was raised that it would be better to run the service as DynamicUser and give it the permissions it needs through CapabilityBoundingSet which would make it more secure.

I believe that for this to work, it would need the main script to test write permission on the targeted files instead of checking if the user is root.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.