Computer batteries have a limited lifespan and degrade over time, so they’re often the first thing to go in a Mac laptop. You can replace a battery yourself or pay Apple to do it, but you should check its health. first. Any battery life issues you’re having could be due to a runaway process or just heavy use.
The Dock sits at the bottom of the screen on every Mac by default, and it will stay there unless it has been relocated either with a settings adjustment or a key modifier. If you’d like to switch the location of where the Mac OS X Dock resides, you can easily do so with either method outlined below, using System Preferences which is the better known method, or the faster but lesser known trick of using the Shift key and dragging the Dock handle to a different region on screen.