Battery Manager and Pulseaudio are interfering with each other

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Robertert
Level 1
Level 1
Posts: 1
Joined: Mon Jun 05, 2023 5:56 pm

Battery Manager and Pulseaudio are interfering with each other

Post by Robertert »

When I boot my system while connected to an external power supply my power manager says that it is charging. Once I start pulseaudio, it changes to discharging. After ~3 minutes of uptime for pulseaudio, it seemingly crashes - audio stops and a constant buzzing noise starts. This noise is not affected by the volume control.
I run "killall pulseaudio" which stops the noise, and at this time the battery manager goes back to charging. I run "pulseaudio --start" and I am right back where I started; the battery manager says discharging and pulseaudio will crash in about 3 minutes.

Output of inxi -Fxz

Code: Select all

System:
  Kernel: 5.19.0-43-generic x86_64 bits: 64 compiler: N/A
    Desktop: Xfce 4.16.0 Distro: Linux Mint 21.1 Vera base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: Microsoft product: Surface 3 v: B16D1SW1C4G1X1
    serial: <superuser required>
  Mobo: Microsoft model: Surface 3 v: 00 serial: <superuser required>
    UEFI: American Megatrends v: 1.51116.238 date: 03/09/2015
Battery:
  ID-1: BAT0 charge: 20.5 Wh (66.8%) condition: 30.7/34.1 Wh (90.0%)
    volts: 3.9 min: 4.3 model: SMP P11G8M status: Discharging
CPU:
  Info: quad core model: Intel Atom x7-Z8700 bits: 64 type: MCP arch: Airmont
    rev: 3 cache: L1: 224 KiB L2: 2 MiB
  Speed (MHz): avg: 1294 high: 2400 min/max: 480/2400 cores: 1: 480 2: 480
    3: 2400 4: 1819 bogomips: 12800
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx
    Integrated Graphics
    vendor: Microsoft driver: i915 v: kernel bus-ID: 00:02.0
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: i915 resolution: 1344x896~60Hz
  OpenGL: renderer: Mesa Intel HD Graphics (CHV) v: 4.6 Mesa 22.2.5
    direct render: Yes
Audio:
  Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series
    Imaging Unit
    driver: N/A bus-ID: 00:03.0
  Sound Server-1: ALSA v: k5.19.0-43-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: no
  Sound Server-3: PipeWire v: 0.3.71 running: yes
Network:
  Device-1: Marvell 88W8897 [AVASTAR] 802.11ac Wireless driver: mwifiex_pcie
    v: 1.0 bus-ID: 01:00.0
  IF: wlp1s0 state: up mac: <filter>
Bluetooth:
  Device-1: Marvell Bluetooth and Wireless LAN Composite type: USB
    driver: btusb v: 0.8 bus-ID: 1-4:3
  Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter>
    bt-v: 2.1 lmp-v: 4.2
Drives:
  Local Storage: total: 116.48 GiB used: 20.84 GiB (17.9%)
  ID-1: /dev/mmcblk1 vendor: Toshiba model: 128G3A size: 116.48 GiB
Partition:
  ID-1: / size: 113.6 GiB used: 20.84 GiB (18.3%) fs: ext4
    dev: /dev/mmcblk1p2
  ID-2: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat
    dev: /dev/mmcblk1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) file: /swapfile
Sensors:
  System Temperatures: cpu: 50.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 255 Uptime: 10m Memory: 3.75 GiB used: 2.16 GiB (57.5%)
  Init: systemd runlevel: 5 Compilers: gcc: 11.3.0 Packages: 2281 Shell: Bash
  v: 5.1.16 inxi: 3.3.13
Thanks in advance.
Last edited by LockBot on Tue Dec 05, 2023 11:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Battery Manager and Pulseaudio are interfering with each other

Post by SMG »

Robertert wrote: Mon Jun 05, 2023 6:07 pmMachine:
Type: Laptop System: Microsoft product: Surface 3 v: B16D1SW1C4G1X1
serial: <superuser required>
Mobo: Microsoft model: Surface 3 v: 00 serial: <superuser required>
UEFI: American Megatrends v: 1.51116.238 date: 03/09/2015
Welcome to the forum, Robertert.

Did you install with just the Linux Mint ISO or did you install the Linux Surface code?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Hardware Support”