# GameShell shuts off

**URL:** <https://forum.clockworkpi.com/t/gameshell-shuts-off/2202>\
**Category:** Customer Services\
**Created:** [January 5, 2019, 4:50pm UTC](https://forum.clockworkpi.com/t/gameshell-shuts-off/2202 "2019-01-05T16:50:21Z")\
**Posts on this page:** 12\
**Page:** 2

<div class="post-metadata">

**Author:** ![guu](https://avatars.discourse-cdn.com/v4/letter/g/7ab992/32.png) [@guu](https://forum.clockworkpi.com/u/guu)\
**Post date:** [January 6, 2019, 1:03pm UTC](https://forum.clockworkpi.com/t/gameshell-shuts-off/2202/21 "2019-01-06T13:03:47Z")

</div>

gsnotify is an app written by SDL2  
so it started at xinit,just when you see the loading picture

I guess the splash screen you mean is the bootup bios picture,right?

---

<div class="post-metadata">

**Author:** ![Micro007](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/micro007/32/745_2.png) [@Micro007](https://forum.clockworkpi.com/u/Micro007)\
**Post date:** [January 6, 2019, 1:05pm UTC](https://forum.clockworkpi.com/t/gameshell-shuts-off/2202/22 "2019-01-06T13:05:15Z")

</div>

Sometimes it would crash before bios. Sometimes it would say “loading” for half a second and shut off.

I have been plugged in since my last post and have had no issues… BT and GSNotify are running.  
I hope this isn’t a short in my battery or something

---

<div class="post-metadata">

**Author:** ![Micro007](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/micro007/32/745_2.png) [@Micro007](https://forum.clockworkpi.com/u/Micro007)\
**Post date:** [January 6, 2019, 1:06pm UTC](https://forum.clockworkpi.com/t/gameshell-shuts-off/2202/23 "2019-01-06T13:06:37Z")

</div>

Maybe being plugged in for long SSH sessions fried it? Should remove battery before doinghuge transfers lol

---

<div class="post-metadata">

**Author:** ![guu](https://avatars.discourse-cdn.com/v4/letter/g/7ab992/32.png) [@guu](https://forum.clockworkpi.com/u/guu)\
**Post date:** [January 6, 2019, 1:09pm UTC](https://forum.clockworkpi.com/t/gameshell-shuts-off/2202/24 "2019-01-06T13:09:19Z")

</div>

can not really know what’s really going on

I crashed 3 sdcards because of the power failure,like battery out

so I added a function to do a shutdown when the battery of GS is 3% lower

your case makes me reconsider canceling this function,and not sure if it is better

---

<div class="post-metadata">

**Author:** ![Micro007](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/micro007/32/745_2.png) [@Micro007](https://forum.clockworkpi.com/u/Micro007)\
**Post date:** [January 6, 2019, 1:12pm UTC](https://forum.clockworkpi.com/t/gameshell-shuts-off/2202/25 "2019-01-06T13:12:03Z")

</div>

well, whatever you come up with I can be the “guinea pig” to test it on hahah thanks so much for all your help.

---

<div class="post-metadata">

**Author:** ![guu](https://avatars.discourse-cdn.com/v4/letter/g/7ab992/32.png) [@guu](https://forum.clockworkpi.com/u/guu)\
**Post date:** [January 6, 2019, 1:12pm UTC](https://forum.clockworkpi.com/t/gameshell-shuts-off/2202/26 "2019-01-06T13:12:43Z")

</div>

thanks man ,I really appreciate it.

---

<div class="post-metadata">

**Author:** ![Micro007](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/micro007/32/745_2.png) [@Micro007](https://forum.clockworkpi.com/u/Micro007)\
**Post date:** [January 6, 2019, 1:13pm UTC](https://forum.clockworkpi.com/t/gameshell-shuts-off/2202/27 "2019-01-06T13:13:27Z")

</div>

If I gotta rebuild so be it. I’d rather help be part of the solution! I love the device to much to stop caring

---

<div class="post-metadata">

**Author:** ![Micro007](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/micro007/32/745_2.png) [@Micro007](https://forum.clockworkpi.com/u/Micro007)\
**Post date:** [January 6, 2019, 2:38pm UTC](https://forum.clockworkpi.com/t/gameshell-shuts-off/2202/28 "2019-01-06T14:38:23Z")

</div>

Maybe it is my battery…? I had BT off and killed gsnotify… unplugged from a full charge and it ended up just shutting down ☹ I’ll have to get another battery to fully isolate the issue.

I’m gonna dry disabling the “Low Battery” script in the notification menu. BT is off. So far no crashing but it’s been on for only 5 minutes.

EDIT  
Crashed again, and then again as a started typing this.

Just gonna play plugged it since that seems to work. Not an issue right now - starting to really think it’s a power fault tho.

---

<div class="post-metadata">

**Author:** ![lasvegas](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/lasvegas/32/769_2.png) [@lasvegas](https://forum.clockworkpi.com/u/lasvegas)\
**Post date:** [January 6, 2019, 6:41pm UTC](https://forum.clockworkpi.com/t/gameshell-shuts-off/2202/29 "2019-01-06T18:41:55Z")

</div>

I recommend that you verify that your battery cable is well seated on both ends. A loose connection could be causing your issue…

---

<div class="post-metadata">

**Author:** ![Micro007](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/micro007/32/745_2.png) [@Micro007](https://forum.clockworkpi.com/u/Micro007)\
**Post date:** [January 6, 2019, 8:13pm UTC](https://forum.clockworkpi.com/t/gameshell-shuts-off/2202/30 "2019-01-06T20:13:35Z")

</div>

Just tried resetting the wires. Did every single one for good measure. Everything seems nice and snug, and the wires aren’t tampered with. Gonna see what happens now with my usual setup of BT turned off, wifi rescued, and GSNotify running a Low Battery script.

Will post results

EDIT:  
15 minutes of gaming shows no errors. It was shutting down like crazy… have the wire wasn’t seated properly… seems like a weird thing to just randomly happen but here we are.  
Will keep an open mind Incas anything else happens and as always, will report to you!

Thanks @lasvegas for the solution (seems like something I should have tried first but I honestly haven’t touched them since I set the device up so I didn’t think I would need to)

Thanks @guu for the hasty replies and the background work.

---

<div class="post-metadata">

**Author:** ![guu](https://avatars.discourse-cdn.com/v4/letter/g/7ab992/32.png) [@guu](https://forum.clockworkpi.com/u/guu)\
**Post date:** [January 7, 2019, 12:23pm UTC](https://forum.clockworkpi.com/t/gameshell-shuts-off/2202/31 "2019-01-07T12:23:41Z")

</div>

Low battery script won’t do a shutdown job

gsnotify-arm has the code inside it to check battery percent and do a shutdown job  
(I’m so surprised that your sd card data is still complete after so many un-expected shutdown)

so I suggest you just delete gsnotify-arm from `~/launcher/sys.py/gsnotify`  
and also turn off BT( I think BT is ok ,impossible to crash the GS down) in case

you can use

```auto
sudo rfkill block 2

```

to block hci0 off ,hci0 is the bluetooth

---

<div class="post-metadata">

**Author:** ![javelinface](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/javelinface/32/3079_2.png) [@javelinface](https://forum.clockworkpi.com/u/javelinface)\
**Post date:** [January 10, 2020, 11:36pm UTC](https://forum.clockworkpi.com/t/gameshell-shuts-off/2202/32 "2020-01-10T23:36:52Z")

</div>

Sorry for the post to an old thread.  
Re: the notify, and shut down at 3% (which is a great idea to avoid SD card corruption, like on my GoPro), can a suspend state be invoked instead? Just so you have the option of plugging in power.

Just we’re not cross posting too much, I also posted a similar suggestion here, but thought it would be more pertainent as a safeguard feature.

> [@How do I come to suspend?](https://forum.clockworkpi.com/t/how-do-i-come-to-suspend/1474/6):
>
> Necrothread resurrection! Since we’re now playing with a newer kernel, 5.3.6 officially, with 5.4.6 in the works, with newer hardware device drivers, do we now have the required open source coprocessor driver with ACPI support? No rush, I won’t lose … sleep over it. wink shot Edit: just bumping this, and reiterating the point made by the OP, re the sleep function being used in a similar way the Vita would enter an automatically induced sleep state when low on power. We have a notification…

[Previous page](https://forum.clockworkpi.com/t/gameshell-shuts-off/2202.md?page=1)
