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

Power Drain on m1 Mac laptop #525

Open
WhipCrackJack opened this issue Jan 8, 2025 · 4 comments
Open

Power Drain on m1 Mac laptop #525

WhipCrackJack opened this issue Jan 8, 2025 · 4 comments

Comments

@WhipCrackJack
Copy link

Hello,

I am running Inky - Inky version: 0.15.1 ink version: 1.2.0 inkjs version: 2.2.3 - on my M1 Mac laptop and it is draining my battery really fast. Any thoughts?

Thanks!

Jacob

@rhizoome
Copy link

rhizoome commented Jan 25, 2025

I am seeing this too. As soon as I work with a saved file the renderer will use a lot for CPU. Therefore I think these issues are still relevant: #63, #239

Image

If it is not too difficult to build inky, I'll look into that issue.

@rhizoome
Copy link

rhizoome commented Jan 25, 2025

I built inky on MacOS 15.2 and the resulting Inky.app does not have the issue. The build did not work with the source as-is.

  1. I had to move "appdmg": "^0.6.6" to devDependencies in package.json
  2. I had to run npm update or it would not build
cd app
hx package.json #move appdmg
npm update
cd ..
sh BUILD_FOR_MAC.command
console.log(process.versions.electron);
30.5.1

@rhizoome
Copy link

rhizoome commented Jan 25, 2025

I uploaded Inky.app here https://1042.ch/Inky.zip

Please note:

  1. I do not know if it will run on another machine, because I cannot sign the code
  2. It is built from master, not tested much (it runs my work), it is not official!

@WhipCrackJack
Copy link
Author

I built it on my machine - with a lot of help from AI to walk me through it - and it doesn't have the problem now. But I would rather not roll my own software. Hopefully the next release won't have this bug.

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

2 participants