hardware not working while on battery

iam a complete beginner to linux my first distro is ubuntu i have installed ubuntu on my laptop asus vivobook 15 x512da my problem is when iam using laptop on battery laptop’s bluetooth, camera usb ports(for usb keyboard and mouse but for pendrives it works) does not works but when i use laptop while charging all these things work and to make that work on charging i have to reboot the laptop then only it starts and when i turn off the charging it works till laptop screen is on when laptop turn down laptop lid it again stops to work

and one more thing can you also suggest me how to learn linux so that i can use it for my laptop in day to day life

Go to Source
Author: nitin mokashi