yifanlu / psvsd

Creative Commons Attribution 4.0 International
93 stars 17 forks source link

PSVSD drains bettery even if turned off #11

Open K4thos opened 5 years ago

K4thos commented 5 years ago

My PSVSD v2.1 (official one sold by you, not the third party) discharges Vita battery even if the system is completely turned off (power button held for a few seconds and selecting turn off option). It's not much, since it takes several days to drain 10% of the battery, but if you leave your system long enough, it will discharge the device to the point to not be able to even turn it on again (that was the case when I first noticed the issue after not using the Vita for about a month - all battery charge has been drained even though the Vita remained completely turned off).

I've noticed similar issue reported before: https://github.com/yifanlu/psvsd/issues/9 but I didn't managed to fix it. I've tried following things to make sure that it's PSVSD v2.1 that is causing the discharge:

mathieulh commented 4 years ago

I am also using the official psvsd and I have the same issue, battery drains even while the Vita is off.

dudeitssm commented 4 years ago

I wonder...would it be possible to use a high-side load switch? That should cut down current consumption of whatever is connected on the output side to no more than a few microAmps, or even nanoAmps when the PSV is off (or the EN pin does not get a HIGH signal) and thus extend the battery life to approximately whatever the self-discharge rate is for the lipo battery.

This is what I'm thinking as the flowchart: 0. Turn PSV on from off state. 1. Obtain a signal from the PSV's motherboard that is only present when the PSV is on, but is not on during suspend mode. 2. That signal is fed into the EN pin of the load switch, which activates the psvsd components. The PSV boots up and psvsd mounts sdcard as usual. 3. Turn PSV off, or suspend it. 4. The signal that was active high when PSV was on goes away, and the EN pin sees 0V, turning off the output side and psvsd components.

No idea if this idea would play nicely with the current psvsd software driver. Unfortunately, I am not a programmer. Maybe I should get a PSV1000 3G model and try it out myself? I have a 2001 model only, at the moment.

Thoughts?