Coder Social home page Coder Social logo

alexvinarskis / dell-powermanager Goto Github PK

View Code? Open in Web Editor NEW
39.0 39.0 1.0 616 KB

Cross-Platform Dell Power Manager re-implementation

License: GNU General Public License v3.0

Dart 74.83% CMake 9.36% C++ 12.46% C 0.69% Shell 1.67% Batchfile 0.98%

dell-powermanager's People

Contributors

alexvinarskis 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

Watchers

 avatar  avatar  avatar

Forkers

poltpolt

dell-powermanager's Issues

[FEATURE] Package for Arch

What is suggested Feature, and what problem it solves?
Package for Arch, to .aur

Debian dependencies were already conditioned to debian based systems only, app can run from source on Arch and other distros.

Background info
OS - Arch Linux

[BUG] Windows: Supported modes are not saved?

Describe the bug
It seems supported modes are not saved, and are queried every time. Everything is slow (general Windows CCTK limitation) + shared prefs.json has values as Null.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Device Info (please complete the following information):

  • OS: [e.g. Windows 22H2, Ubuntu 22.04]
  • Platform [eg. XPS 9530, Precision 5570]
  • App Version [e.g. V1.1.0]

Additional context
Add any other context about the problem here.

[FEATURE]flatpak or OBS (for opensuse)

Hi,
I have failed to build on Opensuse,
for less technical ppl and popularity of your program it would be great to have it on flathub that climbs in popularity

[BUG] Window control bar rendered incorreclty upon start

Describe the bug
Occasionally upon opening installed app from Ubuntu, top part of the window is overdrawn, in semi transparent mode

To Reproduce
Steps to reproduce the behavior:

  1. open installed app.
  2. if bug didn't appear, close the app, go to 1.

Expected behavior
Correctly rendered window, eg:
image

Bug behaviour
image

Desktop (please complete the following information):

  • OS: Ubuntu 23.04, Linux 6.5.0
  • Platform XPS 9530
  • Version 0.1.0, 15.09.2023

Additional context
Issue happens occasionally upon opening, without obvious pattern
Issue is gone if:

  • Re-open the app (not always)
  • Maximize and de-maximize app
  • Unfocus and focus the app

[BUG]

Describe the bug
A clear and concise description of what the bug is.
=> flag's missing on the Misc button :*(

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...' => main screen
  2. Click on '....' => Misc button
  3. Scroll down to '....' => nowhere
  4. See error => flag's missing :*(

Expected behavior
A clear and concise description of what you expected to happen.
=> flag's not missing :D

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: [e.g. Windows 22H2, Ubuntu 22.04] => Windows-ing 11ing
  • Platform [eg. XPS 9530, Precision 5570] => something with Acer and Ryzen 5
  • Version [e.g. V1.1.0] => version very novel

Additional context
Add any other context about the problem here.
=> flag's missing :*(

[BUG] App keeps scanning and fields are not available

All of the sections under Battery Settings and Thermal Management have a blue scanning bar that goes across them. The scanning persists and the fields never become available to use.

To Reproduce:
Steps to reproduce the behavior:

  1. Open App
  2. Go To Battery Settings section
  3. Blue scanning indicator constantly scrolls over fields on the right.

Expected behavior:
The fields should be available to use when entering that section of the app.

image

Device Info:

  • OS: [6.5.0-13-generic, Ubuntu 23.10]
  • Platform [Dell Inc. XPS 13 9360]
  • App Version [0.8.0+20231126-193826]

Make more compatible with other distro's

Hi ! :-)

I tried your package the other day on Arch and, although it did run i couldn't do anything because it couldn't find the dell command binaries. It asked me to install them but didn't work because it uses apt.

If possible it would be great if the app looks for the binary in $PATH or provides a configuration option for the binary. It that i solved i could make an AUR package for it and maintain it...

Other option would be a flatpak but that would not solve the dell binary requirement.

Cheers!

[BUG] Unable to switch modes when BIOS SetupPwd/SysPwd/OwnerPwd is set

I installed the binary amd64 release in ~/bin/dell-powermanager
I get the errors below, I suspect i miss powerprofiles-deamon.

My default powermanagement package is TLP - which conflicts with powerprofiles-deamon.
am I right?

Maybe an option to use tlp?

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: ShellException(powerprofilesctl get, error: ProcessException: Nie ma takiego pliku ani katalogu
Command: powerprofilesctl get, workingDirectory: /home/polrus/bin/dell-powermanager)

$ powerprofilesctl get
$ bash -c "export PATH=/opt/dell/dcc:$PATH && sudo -n $(which cctk) --ThermalManagement --PrimaryBattChargeCfg"
ProcessException: Nie ma takiego pliku ani katalogu
Command: powerprofilesctl get
$ powerprofilesctl get
workingDirectory: /home/polrus/bin/dell-powermanager

Check that powerprofilesctl exists
command: powerprofilesctl get

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: ShellException(powerprofilesctl get, error: ProcessException: Nie ma takiego pliku ani katalogu
Command: powerprofilesctl get, workingDirectory: /home/polrus/bin/dell-powermanager)

$ cat /sys/class/power_supply/AC/uevent /sys/class/power_supply/BAT0/uevent
POWER_SUPPLY_NAME=AC
POWER_SUPPLY_TYPE=Mains
POWER_SUPPLY_ONLINE=1
POWER_SUPPLY_NAME=BAT0
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_STATUS=Full
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-poly
POWER_SUPPLY_CYCLE_COUNT=0
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11400000
POWER_SUPPLY_VOLTAGE_NOW=12969000
POWER_SUPPLY_CURRENT_NOW=1000
POWER_SUPPLY_CHARGE_FULL_DESIGN=8339000
POWER_SUPPLY_CHARGE_FULL=8339000
POWER_SUPPLY_CHARGE_NOW=8339000
POWER_SUPPLY_CAPACITY=100
POWER_SUPPLY_CAPACITY_LEVEL=Full
POWER_SUPPLY_MODEL_NAME=DELL F8CPG26
POWER_SUPPLY_MANUFACTURER=BYD
POWER_SUPPLY_SERIAL_NUMBER=71
ThermalManagement=Optimized
PrimaryBattChargeCfg=Custom:50-55
$ powerprofilesctl get
ProcessException: Nie ma takiego pliku ani katalogu
Command: powerprofilesctl get
$ powerprofilesctl get

[FEATURE] Windows: Find a way to run in non-admin mode

What is suggested Feature, and what problem it solves?
Currently, as CCTK shall be queried in admin mode, whole app is forced to run admin. This has number of issues:

  1. Userland apps shouldnt run in admin (security)
  2. Userland apps based on flutter have bugs/issues when in admin, in this case app is always in dark mode
  3. Its pain to debug, since flutter run won't run the app anymore. Without admin, cctk will fail, so again, pain to debug.

Is your feature request related to a application? Please why you think its a fit.
Please do not add Ex. It would be great to see CPU and GPU temps in summary window - this is beyond the scope of this application, these requests will be ignored and deleted.

Background info
OS - Windows/Linux?
Platform - Ex. XPS 9530
Are you willing to provide bandwidth for testing proposed changes?

[BUG] `libssl1.1` link outdated

Describe the bug
libssl1.1 download link is outdated (again)

To Reproduce
Remove libssl1.1, restart app, attempt to 'install dependencies'. It will now fail.

Device Info (please complete the following information):

  • Any Ubuntu based devices

Additional context
Need to re-host package, or make dynamic link detection Use url of package from focal main, not focal updates

[BUG]

Describe the bug
When battery stat deviate, a value >100% is possible:
image

Solved by #39

Reported by @nightmared

To Reproduce
Be lucky enough to have a device with >100% battery health.

[FEATURE] Battery saving

What is suggested Feature, and what problem it solves?
The Dell Windows application provides an "advanced" battery saving option, which significantly extends the working time. I think this is one of the most important functions in this application and it is a pity that it is not here :(

Background info
OS - Linux?
Platform - Vostro 1503

[TESTED DEVICE] Vostro 5401

Summary
Positive experience.
Everything work
Screenshots
If you experienced issues, add screenshot of the bug. If everything is okay, add screenshot of the app and system info screen with device model/OS version...

Device Info (please complete the following information):

  • OS: Ubuntu 23.10
  • Platform Dell Vostro 1503
  • App Version 0.8.0

Additional context
Add any other context about the problem here.

Before the last update, installing drivers did not work, but now it has been fixed

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.