# Magic Device documentation > Magic Device tells a Flutter app whether the device is on mains power, whether the viewer is away and whether the macOS window is fullscreen. One import. ## Getting Started - [Installation](https://anilcancakir.com/magic/docs/device/getting-started/installation.md): Add magic_device to a Flutter app, check that it answers, and know what it does not need. ## The Basics - [DevicePower](https://anilcancakir.com/magic/docs/device/basics/device-power.md): Know whether the device is on mains power and whether the viewer is away, so a heavy background job runs only when nobody will notice. - [WindowFullscreen](https://anilcancakir.com/magic/docs/device/basics/window-fullscreen.md): Know whether the macOS window is fullscreen, follow it as it changes, and flip it with one call. ## Guides - [Testing](https://anilcancakir.com/magic/docs/device/guides/testing.md): Test code that depends on DevicePower and WindowFullscreen without a device, a plugin or a mocking library. ## Optional - [Magic Device](https://anilcancakir.com/magic/device): the package landing page - [Full documentation](https://anilcancakir.com/magic/docs/device/llms-full.txt): every page in one file