-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Dell laptop libsmbios #7
Comments
Let me know if you need any additional information for Dell laptops |
Hey monethass . Hey. for me when I run smbios-battery-ctl --get-charging-cfg the result is shown below and the exit code is 1.
So If you can copy paste and post the results of the following command.
Can you post the result of this. If there are any mistakes in commands that I have written, please correct them and let me know with the results. I am read on that running all smbios-battery-ctl needs root permissions(sudo) Is that correct? |
All of them exits 0.
Yes, that is correct. If permission is denied, exit code will be 3.
|
From all the below options Cant give all option in extension, it is too much hassle. I think Since my extension is already provides these modes in "custom" configuration |
I don't know about other users, but I don't feel like express is any quicker than standard for me, to be honest. I use custom with 50/85, because most of the places I use my laptop have a wall plug. Occasionally, I might change to standard when I know I'm going to be out for a longer period of time without an AC source. adaptive I believe is that the laptop figures out, for example, you start your day at 8am to 4pm on weekdays, and 11am to 9pm on weekends, so if you plug in the laptop the night before, it won't charge it until maybe like 6am on weekdays and 9am on weekends, and it'll be fully charged when you're ready to go. That's what Dell claims, I believe, but I've never tested it. primarily_ac still charges to 100% and stays there, so the same as standard and express, really. Maybe there is something different to how the laptop manages the battery level in the background, but to the user, the differences between these three are not obvious at all (if any). custom is, well, custom. Since the extension already has Full Capacity Mode, Balanced Mode, and Maximum Lifespan Mode, I would say:
If you're up to adding other modes, the priority (in my opinion) to be added is:
|
what happens if the difference between both threshold is less than 5.
What are the result and exit code for this? Also what happens if the mode is not in custom and we set --set-custom-charge-interval. Does it automatically change mode to custom?
I am almost done, but only for custom threshold. |
It changes the threshold for custom mode, but doesn't change the mode to custom. So the next time you change the mode to custom, it'll use the threshold.
I've tried to check if there's any file in |
Hey. Can you help me to test this version of the extension? Extract the zip ad open the folder. Open terminal in that folder and install using ./install.sh The extension will notify to install polkit. Install it and Restart gnome shell again. It would be helpful if you can send me logs for debugging just to verify. Open two windows of terminal. Disable and renable the extension. |
It works! But one thing I notice is that it only changes the mode from anything else to custom on login, and after login, it only changes the threshold and not the mode. This will cause problem when, for example, if I change the mode manually via command line to, for example, standard, then after that if I change the mode via the extension, it won't change the mode back to custom, although the threshold will be changed (but not applied because the mode is still set to standard). Below is the log for when I did that:
|
Yes it applied custom mode only during the start of the extension. This is to avoid applying two commands every time we change the threshold. Reviewers of gnome extension don't prefer using too many command lines. So I am trying to minimize usage of two many command lines. |
Hello @monethass Please test all modes and apply customize option in settings. Let me know if there are any issue. |
I'm not able to run this version. After installation and shell restart, the extension is not loaded. Logs:
Stack trace:
|
Sorry about that. |
Just had it installed and it works. Tried both adaptive and express |
Thank you for testing |
Just uploaded the version which supports dell on gnome extension website. Thank you for the information provided and testing the extension |
Hello monethass. Looking for some testing of new version if interest please contribute Link here #11 |
No description provided.
The text was updated successfully, but these errors were encountered: