Open raisjn opened 3 years ago
Oh, thanks for reposting :D I'm here too, btw ;)
how do you test - through one hour of active usage?
and what version of remux? (should say in opkg info remux
or similar command)
Could this be related to rm2fb?
After unregularly checking the battery status for an afternoon, I started looking every ten minutes and the battery kept draining. I then tested by disabling remux and there was no recognizable battery decrease in the next half hour. But when I turned it back on, I lost several percent in the first half hour.
I did not actively disable rm2fb for that tests, tho. But I don't know if it would even be active without remux running.
reMarkable: ~/ opkg info remux
Package: remux
Version: 0.1.4-1
Status: install user installed
Section: launchers
Architecture: armv7-3.2
Maintainer: raisjn <of.raisjn@gmail.com>
Size: 179962
Filename: remux_0.1.4-1_armv7-3.2.ipk
Description: App launcher that supports multi-tasking applications
Installed-Time: 1610393897
When remux is running (both foreground and background) what kind of CPU usage does it have?
top
shows for remux
PID PPID USER STAT VSZ %VSZ %CPU COMMAND
5485 1 root S 75004 7% 0% /opt/bin/remux (in the background)
...
5485 1 root S 75012 7% 1% /opt/bin/remux (active)
after speaking to eeems, some next steps could be:
then can collect usage logs and see what usage with and without remux looks like.
it will also help if anyone else can report in on battery usage and which rM version they are on
updated comment from reddit:
it seems to have gotten a bit better with the last update to version 0.1.5-1, but I couldn't log a comparable time frame yet to verify that.
i think that i will try to add some logging mechanism for battery life that will let me analyze it later down the line, along with what apps were running.
I am running remux on reMarkable (original) and noticed the battery drain as well. I installed the remux through opkg on my tablet. Part of the issue I found is that remux is still running even if I turn off the power via reMarkable UI. This may or may not be the cause of battery drain, but adding it here in case it is.
Reproduction steps:
if this is on rm1, i believe there is two sleep states and in the first one, the front buttons will wake the tablet but xochitl ignores them.
your tablet might wake up if you press middle button (and not hold it) without remux, try plugging it into pc and you will get network connected event when middle button wakes it
when i have time, i will give out scripts to log your battery life over time so you can see what is happening. it is simple to log a timestamp + current charge + whether it is charging and then look at it later.
with remux installed, i get 0.8% drain per hour during sleep on rm1
rM1 Power Cases:
case 1 (xochitl sleep, front button wake):
case 2 (xochitl sleep, front button summon remux):
case 3 (sleep from remux):
@raisjn
Thanks for the detailed response.
I could not connect to SSH on the tablet once it's powered off and keypresses didn't wake it up. But I'm not looking at it with the same approach as you are. I think the power off details I noted are a tangent and perhaps unrelated.
The power down issue aside, I also noticed a big power drain once I started to use remux and keywriter. So I don't quite know which one causes power drain. I'm going to try another launcher and provide more details if I find that the battery drain is not as big with a different launcher.
i installed keywriter and opened it, then did the following:
i don't have a keyboard so i can't check what typing is like. but there's definitely room for remux to reduce CPU usage. (you can get pidstat with sysstat
pkg in opkg)
EDIT: 0324d795b4a099105668d00ac4bee1f19ec95a8d could help with stylus associated CPU usage
on the rM2, i did:
i asked for help collecting pidstats samples (sysstat
package) from others, so i hope to get more info on keywriter and other apps and how their CPU usage looks (not that CPU is the end all be all)
from https://old.reddit.com/r/RemarkableTablet/comments/kwsp6h/remux_andor_koreader_drain_my_battery_fast/