Any linux OS shuts down once the AC adapter is plugged in

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
2
down vote

favorite












I'm using Ubuntu 16.04 LTS on a 250 g4 Hp laptop, the OS runs perfectly when the charger isn't plugged in, once i connect the charger to the laptop, it shuts down. The same thing even happened when i was installing it several times until i removed the charger. Should i try another distribution or it's my laptop?



Update: i tried different distributions like mint, fedora and all of them seem to have the same problem.



I'm using dual boot with windows 10 and the charger works fine.










share|improve this question























  • Try booting your laptop after the AC adapter is plugged in for awhile. Any change?
    – WinEunuuchs2Unix
    Mar 31 at 18:13











  • No changes. The os keeps on shutting before the login screen appears.
    – Mahmoud Mansour
    Mar 31 at 19:33










  • Have you tried another charger to eliminate it as the possible cause of the system shutting down? If it does it with another charger, then you might be looking at a possible bad power connector inside the laptop or a possible bad motherboard. This does not sound like a software issue, or at least a software issue that I have ever heard of.
    – Terrance
    Apr 6 at 13:45











  • The charger works fine when I'm using windows. I doubt it could be the problem.
    – Mahmoud Mansour
    Apr 6 at 16:24






  • 3




    You should have add that to your question that when you try it in Windows on the same laptop it does not power off. That is really important. My comment was based off of your present question.
    – Terrance
    Apr 9 at 16:18














up vote
2
down vote

favorite












I'm using Ubuntu 16.04 LTS on a 250 g4 Hp laptop, the OS runs perfectly when the charger isn't plugged in, once i connect the charger to the laptop, it shuts down. The same thing even happened when i was installing it several times until i removed the charger. Should i try another distribution or it's my laptop?



Update: i tried different distributions like mint, fedora and all of them seem to have the same problem.



I'm using dual boot with windows 10 and the charger works fine.










share|improve this question























  • Try booting your laptop after the AC adapter is plugged in for awhile. Any change?
    – WinEunuuchs2Unix
    Mar 31 at 18:13











  • No changes. The os keeps on shutting before the login screen appears.
    – Mahmoud Mansour
    Mar 31 at 19:33










  • Have you tried another charger to eliminate it as the possible cause of the system shutting down? If it does it with another charger, then you might be looking at a possible bad power connector inside the laptop or a possible bad motherboard. This does not sound like a software issue, or at least a software issue that I have ever heard of.
    – Terrance
    Apr 6 at 13:45











  • The charger works fine when I'm using windows. I doubt it could be the problem.
    – Mahmoud Mansour
    Apr 6 at 16:24






  • 3




    You should have add that to your question that when you try it in Windows on the same laptop it does not power off. That is really important. My comment was based off of your present question.
    – Terrance
    Apr 9 at 16:18












up vote
2
down vote

favorite









up vote
2
down vote

favorite











I'm using Ubuntu 16.04 LTS on a 250 g4 Hp laptop, the OS runs perfectly when the charger isn't plugged in, once i connect the charger to the laptop, it shuts down. The same thing even happened when i was installing it several times until i removed the charger. Should i try another distribution or it's my laptop?



Update: i tried different distributions like mint, fedora and all of them seem to have the same problem.



I'm using dual boot with windows 10 and the charger works fine.










share|improve this question















I'm using Ubuntu 16.04 LTS on a 250 g4 Hp laptop, the OS runs perfectly when the charger isn't plugged in, once i connect the charger to the laptop, it shuts down. The same thing even happened when i was installing it several times until i removed the charger. Should i try another distribution or it's my laptop?



Update: i tried different distributions like mint, fedora and all of them seem to have the same problem.



I'm using dual boot with windows 10 and the charger works fine.







shutdown charging






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 9 at 21:47

























asked Mar 31 at 11:19









Mahmoud Mansour

236




236











  • Try booting your laptop after the AC adapter is plugged in for awhile. Any change?
    – WinEunuuchs2Unix
    Mar 31 at 18:13











  • No changes. The os keeps on shutting before the login screen appears.
    – Mahmoud Mansour
    Mar 31 at 19:33










  • Have you tried another charger to eliminate it as the possible cause of the system shutting down? If it does it with another charger, then you might be looking at a possible bad power connector inside the laptop or a possible bad motherboard. This does not sound like a software issue, or at least a software issue that I have ever heard of.
    – Terrance
    Apr 6 at 13:45











  • The charger works fine when I'm using windows. I doubt it could be the problem.
    – Mahmoud Mansour
    Apr 6 at 16:24






  • 3




    You should have add that to your question that when you try it in Windows on the same laptop it does not power off. That is really important. My comment was based off of your present question.
    – Terrance
    Apr 9 at 16:18
















  • Try booting your laptop after the AC adapter is plugged in for awhile. Any change?
    – WinEunuuchs2Unix
    Mar 31 at 18:13











  • No changes. The os keeps on shutting before the login screen appears.
    – Mahmoud Mansour
    Mar 31 at 19:33










  • Have you tried another charger to eliminate it as the possible cause of the system shutting down? If it does it with another charger, then you might be looking at a possible bad power connector inside the laptop or a possible bad motherboard. This does not sound like a software issue, or at least a software issue that I have ever heard of.
    – Terrance
    Apr 6 at 13:45











  • The charger works fine when I'm using windows. I doubt it could be the problem.
    – Mahmoud Mansour
    Apr 6 at 16:24






  • 3




    You should have add that to your question that when you try it in Windows on the same laptop it does not power off. That is really important. My comment was based off of your present question.
    – Terrance
    Apr 9 at 16:18















Try booting your laptop after the AC adapter is plugged in for awhile. Any change?
– WinEunuuchs2Unix
Mar 31 at 18:13





Try booting your laptop after the AC adapter is plugged in for awhile. Any change?
– WinEunuuchs2Unix
Mar 31 at 18:13













No changes. The os keeps on shutting before the login screen appears.
– Mahmoud Mansour
Mar 31 at 19:33




No changes. The os keeps on shutting before the login screen appears.
– Mahmoud Mansour
Mar 31 at 19:33












Have you tried another charger to eliminate it as the possible cause of the system shutting down? If it does it with another charger, then you might be looking at a possible bad power connector inside the laptop or a possible bad motherboard. This does not sound like a software issue, or at least a software issue that I have ever heard of.
– Terrance
Apr 6 at 13:45





Have you tried another charger to eliminate it as the possible cause of the system shutting down? If it does it with another charger, then you might be looking at a possible bad power connector inside the laptop or a possible bad motherboard. This does not sound like a software issue, or at least a software issue that I have ever heard of.
– Terrance
Apr 6 at 13:45













The charger works fine when I'm using windows. I doubt it could be the problem.
– Mahmoud Mansour
Apr 6 at 16:24




The charger works fine when I'm using windows. I doubt it could be the problem.
– Mahmoud Mansour
Apr 6 at 16:24




3




3




You should have add that to your question that when you try it in Windows on the same laptop it does not power off. That is really important. My comment was based off of your present question.
– Terrance
Apr 9 at 16:18




You should have add that to your question that when you try it in Windows on the same laptop it does not power off. That is really important. My comment was based off of your present question.
– Terrance
Apr 9 at 16:18










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










This works for my Dell Inspiron running Ubuntu, which has the same problem you described: Close the laptop, plug in the adapter, wait a few seconds, reopen the lid. You're presented with the locked screen.



Perhaps this isn't a "solution" because the laptop shouldn't reboot on plugging in the power. But it may be a helpful workaround.






share|improve this answer






















  • You solution works despite it turns off the wifi and i need to restart the network manager. Also i found out that when I'm running clementine and plugging the charger, it doesn't shut down. It's wired, but i can have longer sessions on my IDEs now, thanks.
    – Mahmoud Mansour
    May 12 at 23:00










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1020818%2fany-linux-os-shuts-down-once-the-ac-adapter-is-plugged-in%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote



accepted










This works for my Dell Inspiron running Ubuntu, which has the same problem you described: Close the laptop, plug in the adapter, wait a few seconds, reopen the lid. You're presented with the locked screen.



Perhaps this isn't a "solution" because the laptop shouldn't reboot on plugging in the power. But it may be a helpful workaround.






share|improve this answer






















  • You solution works despite it turns off the wifi and i need to restart the network manager. Also i found out that when I'm running clementine and plugging the charger, it doesn't shut down. It's wired, but i can have longer sessions on my IDEs now, thanks.
    – Mahmoud Mansour
    May 12 at 23:00














up vote
1
down vote



accepted










This works for my Dell Inspiron running Ubuntu, which has the same problem you described: Close the laptop, plug in the adapter, wait a few seconds, reopen the lid. You're presented with the locked screen.



Perhaps this isn't a "solution" because the laptop shouldn't reboot on plugging in the power. But it may be a helpful workaround.






share|improve this answer






















  • You solution works despite it turns off the wifi and i need to restart the network manager. Also i found out that when I'm running clementine and plugging the charger, it doesn't shut down. It's wired, but i can have longer sessions on my IDEs now, thanks.
    – Mahmoud Mansour
    May 12 at 23:00












up vote
1
down vote



accepted







up vote
1
down vote



accepted






This works for my Dell Inspiron running Ubuntu, which has the same problem you described: Close the laptop, plug in the adapter, wait a few seconds, reopen the lid. You're presented with the locked screen.



Perhaps this isn't a "solution" because the laptop shouldn't reboot on plugging in the power. But it may be a helpful workaround.






share|improve this answer














This works for my Dell Inspiron running Ubuntu, which has the same problem you described: Close the laptop, plug in the adapter, wait a few seconds, reopen the lid. You're presented with the locked screen.



Perhaps this isn't a "solution" because the laptop shouldn't reboot on plugging in the power. But it may be a helpful workaround.







share|improve this answer














share|improve this answer



share|improve this answer








edited May 9 at 20:38

























answered May 9 at 20:24









user1416227

41238




41238











  • You solution works despite it turns off the wifi and i need to restart the network manager. Also i found out that when I'm running clementine and plugging the charger, it doesn't shut down. It's wired, but i can have longer sessions on my IDEs now, thanks.
    – Mahmoud Mansour
    May 12 at 23:00
















  • You solution works despite it turns off the wifi and i need to restart the network manager. Also i found out that when I'm running clementine and plugging the charger, it doesn't shut down. It's wired, but i can have longer sessions on my IDEs now, thanks.
    – Mahmoud Mansour
    May 12 at 23:00















You solution works despite it turns off the wifi and i need to restart the network manager. Also i found out that when I'm running clementine and plugging the charger, it doesn't shut down. It's wired, but i can have longer sessions on my IDEs now, thanks.
– Mahmoud Mansour
May 12 at 23:00




You solution works despite it turns off the wifi and i need to restart the network manager. Also i found out that when I'm running clementine and plugging the charger, it doesn't shut down. It's wired, but i can have longer sessions on my IDEs now, thanks.
– Mahmoud Mansour
May 12 at 23:00

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1020818%2fany-linux-os-shuts-down-once-the-ac-adapter-is-plugged-in%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491