Skip to content
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

Huge battery drain #230403

Open
brinus opened this issue Oct 3, 2024 · 0 comments
Open

Huge battery drain #230403

brinus opened this issue Oct 3, 2024 · 0 comments
Assignees

Comments

@brinus
Copy link

brinus commented Oct 3, 2024

Type: Performance Issue

I'm using VS Code (Apple Silicon Version) on my MacBook Pro M1. After just 15 minutes of light use, Activity Monitor reports a "12h battery usage" of 28%.

VS Code version: Code 1.93.1 (Universal) (38c31bc, 2024-09-11T17:20:05.685Z)
OS version: Darwin arm64 22.6.0
Modes:

System Info
Item Value
CPUs Apple M1 (8 x 2400)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 2, 2, 2
Memory (System) 8.00GB (0.07GB free)
Process Argv --crash-reporter-id 4f8b7f53-3f9a-4194-8499-a9c8e5c2cdb5
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
   17	   139	 87493	code main
    0	    49	 87503	   gpu-process
    0	    16	 87504	   utility-network-service
    0	   319	 87516	window [1] (DAQFile.cc — readWDpp)
    2	    74	 87582	shared-process
    0	     0	 90360	     /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	    25	 87712	fileWatcher [1]
    0	    74	 88168	extensionHost [1]
    0	    25	 88179	     /private/var/folders/55/9mynrfs93j3flc0vwk96__gm0000gn/T/AppTranslocation/07BDE6DA-6528-4564-92E6-D6374D5FDA3C/d/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) /private/var/folders/55/9mynrfs93j3flc0vwk96__gm0000gn/T/AppTranslocation/07BDE6DA-6528-4564-92E6-D6374D5FDA3C/d/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=88168
    0	     8	 88183	     /Users/matteobrini/.vscode/extensions/ms-vscode.cpptools-1.22.7-darwin-arm64/bin/cpptools
Workspace Info
|  Window (DAQFile.cc — readWDpp)
|    Folder (readWDpp): 282 files
|      File types: js(70) html(54) png(50) svg(16) cc(11) cmake(6) bin(6)
|                  dat(5) json(4) txt(4)
|      Conf files: cmake(6) github-actions(1) launch.json(1) settings.json(1)
|                  tasks.json(1)
|      Launch Configs: cppdbg lldb-vscode;
Extensions (30)
Extension Author (truncated) Version
Doxygen bbe 1.0.0
doxdocgen csc 1.4.0
macos-modern-theme dav 2.3.19
copilot Git 1.235.0
copilot-chat Git 0.20.3
latex-workshop Jam 10.4.2
language-julia jul 1.124.2
git-graph mhu 1.30.0
vscode-language-pack-it MS- 1.93.2024091109
debugpy ms- 2024.10.0
python ms- 2024.14.1
vscode-pylance ms- 2024.9.2
jupyter ms- 2024.8.1
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.0.19
vscode-jupyter-cell-tags ms- 0.1.9
vscode-jupyter-slideshow ms- 0.1.6
remote-ssh ms- 0.114.3
remote-ssh-edit ms- 0.87.0
remote-wsl ms- 0.88.4
vscode-remote-extensionpack ms- 0.25.0
cmake-tools ms- 1.19.52
cpptools ms- 1.22.7
cpptools-extension-pack ms- 1.3.0
remote-explorer ms- 0.4.3
remote-server ms- 1.5.2
veriloghdl msh 1.15.1
material-icon-theme PKi 5.11.1
cmake twx 0.0.17
markdown-all-in-one yzh 3.6.2

(2 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
vscaat:30438848
c4g48928:30535728
azure-dev_surveyonecf:30548226
962ge761:30959799
f8hc8238:30694864
pythongtdpath:30769146
welcomedialogc:30910334
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
jg8ic977:31013176
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
newcmakeconfigv2:31071590
impr_priority:31102340
nativerepl1:31139838
refactort:31108082
pythonrstrctxt:31112756
flightc:31134773
wkspc-onlycs-t:31132770
nativeloc1:31134641
wkspc-ranged-t:31151552
cf971741:31144450
defaultse:31146405
notype1cf:31151524
5fd0e150:31146321

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants