suspend battery drain

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
dolphin_oracle
Developer
Posts: 22301
Joined: Sun Dec 16, 2007 12:17 pm

Re: suspend battery drain

#11 Post by dolphin_oracle »

Charlie Brown wrote: Tue Oct 31, 2023 4:06 pm Till then: It's listed on Distrowatch's page:

• light-locker 1.8.0-3
well distrowatch didn't build it, I did. and light-locker is not on either the 64_bit AHS nor the standard 64 bit.

so if its on jerry's machine, then the vendor added it.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Jerry3904
Administrator
Posts: 23234
Joined: Wed Jul 19, 2006 6:13 am

Re: suspend battery drain

#12 Post by Jerry3904 »

That may be. It was definitely on the system that came from StarLabs, since"which light-locker" reported the usual location. I am now working with a re-install (using our official 23.1 iso): that is not on my machine now and apt history does not show it being removed. But the conclusion seems clear: since it is no longer on my machine but the problem persists, it was not the cause.

My first test with the change to "deep" was not encouraging, but I'm not charging the machine back up and will make a long overnight test.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
CharlesV
Global Moderator
Posts: 7467
Joined: Sun Jul 07, 2019 5:11 pm

Re: suspend battery drain

#13 Post by CharlesV »

As a comparison, my HP Envy 17-cw0023dx - 6% in 6 hrs on a full charge. ( Locked, lid closed )
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
Jerry3904
Administrator
Posts: 23234
Joined: Wed Jul 19, 2006 6:13 am

Re: suspend battery drain

#14 Post by Jerry3904 »

My Lenovo as well.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Redacted
Posts: 294
Joined: Sat Apr 29, 2017 6:53 am

Re: suspend battery drain

#15 Post by Redacted »

@Jerry3904 As promised, results from my Starbook:

Code: Select all

Snapshot created on: 20231023_1435
System:
  Kernel: 6.4.0-1mx-ahs-amd64 [6.4.4-1~mx23+1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.4.0-1mx-ahs-amd64 root=UUID=<filter> ro quiet splash
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23.1_x64 Libretto October 23  2023 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Laptop System: Star Labs product: StarBook v: N/A serial: <superuser required> Chassis:
    type: 9 serial: <superuser required>
  Mobo: Star Labs model: StarBook v: V2.1 serial: <superuser required> UEFI: American Megatrends
    LLC. v: 1.00 date: 09/22/2023
Battery:
  ID-1: BAT0 charge: 27.1 Wh (40.2%) condition: 67.4/65.3 Wh (103.3%) volts: 12.2 min: 11.6
    model: Intel SR 1 SR Real Battery type: Unknown serial: <filter> status: charging
CPU:
  Info: model: 13th Gen Intel Core i3-1315U bits: 64 type: MST AMCP arch: Raptor Lake level: v3
    note: check built: 2022+ process: Intel 7 (10nm) family: 6 model-id: 0xBA (186) stepping: 3
    microcode: 0x4119
  Topology: cpus: 1x cores: 6 mt: 2 tpc: 2 st: 4 threads: 8 smt: enabled cache: L1: 544 KiB
    desc: d-4x32 KiB, 2x48 KiB; i-2x32 KiB, 4x64 KiB L2: 4.5 MiB desc: 2x1.2 MiB, 1x2 MiB L3: 10 MiB
    desc: 1x10 MiB
  Speed (MHz): avg: 1198 high: 2500 min/max: 400/4500:3300 scaling: driver: intel_pstate
    governor: powersave cores: 1: 1113 2: 536 3: 1100 4: 1100 5: 942 6: 1096 7: 1200 8: 2500
    bogomips: 39936
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS, IBPB: conditional, RSB filling,
    PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Raptor Lake-P [UHD Graphics] vendor: IP3 Tech driver: i915 v: kernel arch: Gen-13
    process: Intel 7 (10nm) built: 2022+ ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2,
    HDMI-A-3 bus-ID: 00:02.0 chip-ID: 8086:a7a9 class-ID: 0300
  Device-2: Microdia USB 2.0 Camera type: USB driver: uvcvideo bus-ID: 1-5:4 chip-ID: 0c45:636b
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x14f2 built: 2018 res: 1920x1080 hz: 60 dpi: 158
    gamma: 1.2 size: 309x173mm (12.17x6.81") diag: 354mm (13.9") ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 23.1.2-1~mx23ahs renderer: Mesa Intel Graphics (RPL-P)
    direct-render: Yes
Audio:
  Device-1: Intel vendor: IP3 Tech driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl
    bus-ID: 00:1f.3 chip-ID: 8086:51ca class-ID: 0401
  API: ALSA v: k6.4.0-1mx-ahs-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 0.3.65 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Message: No PCI device data found.
  Device-1: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152 bus-ID: 2-1.3.4:5
    chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 465.76 GiB used: 94.03 GiB (20.2%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 model: Star Drive PCIe SSD size: 465.76 GiB block-size:
    physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter> rev: EIFM31.6
    temp: 42.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 465.51 GiB size: 457.13 GiB (98.20%) used: 94.03 GiB (20.6%) fs: ext4
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 46.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: 2261 pm: dpkg pkgs: 2255 libs: 1199 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 6
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bookworm main non-free
    2: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bookworm ahs
Info:
  Processes: 238 Uptime: 5m wakeups: 36 Memory: 15.35 GiB used: 1.58 GiB (10.3%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI
During the day, 4 different times I suspended for an hour, and each time the drain was 1-2%.
Then i remembered I had disabled webcam and wifi in bios, so I enabled both, then suspended for the night - lid closed.
10 hours later, the battery had dropped 50%.
Quite a change.

User avatar
Jerry3904
Administrator
Posts: 23234
Joined: Wed Jul 19, 2006 6:13 am

Re: suspend battery drain

#16 Post by Jerry3904 »

Thanks very much--so it's not just me!
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Redacted
Posts: 294
Joined: Sat Apr 29, 2017 6:53 am

Re: suspend battery drain

#17 Post by Redacted »

Since it happened with me only when I enabled wifi in bios, could it be that it's an issue with how Starlabs handles wifi? At least in MX?

User avatar
Jerry3904
Administrator
Posts: 23234
Joined: Wed Jul 19, 2006 6:13 am

Re: suspend battery drain

#18 Post by Jerry3904 »

That's what I said to them in my report a couple of hours ago, thanks for the follow-up.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Redacted
Posts: 294
Joined: Sat Apr 29, 2017 6:53 am

Re: suspend battery drain

#19 Post by Redacted »

Sheesh!
Here a few months ago I was touting how great the vendor and product was.
I feel a little embarrassed and irritated.
I'm hoping you get a decent response.

User avatar
Jerry3904
Administrator
Posts: 23234
Joined: Wed Jul 19, 2006 6:13 am

Re: suspend battery drain

#20 Post by Jerry3904 »

The vendor is great and do is the machine, with one exception. The open question is how just their support.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

Post Reply

Return to “MX Help”