Ok, thanks for your answer:
this is the old one:
BM$ pmset -g assertions
04.11.15 05:39:52 MEZ
Assertion status system-wide:
BackgroundTask 0
PreventDiskIdle 0
ApplePushServiceTask 0
UserIsActive 0
PreventUserIdleDisplaySleep 0
InteractivePushServiceTask 0
PreventSystemSleep 0
ExternalMedia 1
PreventUserIdleSystemSleep 0
NetworkClientActive 0
Listed by owning process:
pid 16(powerd): [0x00000009000022bd] 12:35:18 ExternalMedia named: "com.apple.powermanagement.externalmediamounted"
Kernel Assertions: 0xc=USB,BT-HID
id=500 level=255 0x4=USB mod=03.11.15 17:11 description=XHC1 owner=AppleUSBXHCI
id=501 level=255 0x4=USB mod=31.10.15 18:09 description=EHC1 owner=AppleUSBEHCI
id=510 level=255 0x8=BT-HID mod=01.01.70 01:00 description=com.apple.driver.IOBluetoothHIDDriver owner=AppleBluetoothHIDKeyboard
Benjamin-MacBook-Pro:~ BM$
this is a recent one
BM$ pmset -g assertions
05.11.15 18:53:08 MEZ
Assertion status system-wide:
BackgroundTask 0
PreventDiskIdle 0
ApplePushServiceTask 0
UserIsActive 0
PreventUserIdleDisplaySleep 0
InteractivePushServiceTask 0
PreventSystemSleep 0
ExternalMedia 0
PreventUserIdleSystemSleep 1
NetworkClientActive 0
Listed by owning process:
pid 153(coreaudiod): [0x000000010000131f] 02:18:58 NoIdleSleepAssertion named: "com.apple.audio.'AppleHDAEngineOutput:1B,0,1,1:0'.noidlesleep"
Kernel Assertions: 0xc=USB,BT-HID
id=502 level=255 0x4=USB mod=05.11.15 11:39 description=EHC2 owner=AppleUSBEHCI
id=513 level=255 0x8=BT-HID mod=01.01.70 01:00 description=com.apple.driver.IOBluetoothHIDDriver owner=AppleBluetoothHIDKeyboard
Benjamin-MacBook-Pro:~ BM$